[net.micro.att] 3b2 Benchmarks - Sieve of Eratosthenes

revc@gwsd.UUCP (Bob Van Cleef) (06/06/85)

I have just finished running the Eratosthenes Sieve prime number
program from Byte - September 1981 - on my Release 2 - 3b2.

System configuration - 3b2 Solution package B
			1 Meg / 6 tty ports / 32 meg hard drive


SYS V Version	Total Size	Complile & Load		Execute
		 (bytes)	    (seconds)	       (seconds)

Release 1.0.1	 12,300		       28.2		  7.6
Release 2.0	 15,335		       21.7		  6.4

For the record, this is how I timed it...
$ time cc sieve.c; time a.out

real       28.2
user        4.0
sys         5.4
10 iterations

1899 primes
real        6.5
user        6.4
sys         0.1
$ls -l a.out
-rwxr-xr-x   1 revc     other      15335 Jun  6 11:36 a.out

-- 
-----------
Bob Van Cleef			...sdcsvax!gwsd!revc
Gateway Computer Systems	 (619) 457-2701
4980 Carroll Canyon Road
San Diego, CA 92121