sieve benchmark

views updated

sieve benchmark A program that calculates the prime numbers within a specified range in order to obtain a benchmark timing to complete execution. It is easy to use and is often employed to tune the optimization algorithms in compilers; however its coverage of language features is limited to arrays, simple variable types, looping, and comparison.

More From encyclopedia.com