The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

Calculator Speed Benchmark (Add Loop)
Message #1 Posted by Thomas Chrapkiewicz on 19 Jan 2013, 1:29 p.m.

I've taken Gene Wrights original work, put it in an XL sheet and added a few items:

There's a link to the file at the bottom of the page here:

https://sites.google.com/site/tchrapkiewicz2/calculating-devices

I'll try to maintain it and add some more benchmark columns to it.

TomC

      
Re: Calculator Speed Benchmark (Add Loop)
Message #2 Posted by Tim Wessman on 19 Jan 2013, 3:35 p.m.,
in response to message #1 by Thomas Chrapkiewicz

39gII: Sept 04, 2012 firmware

LOOP1()
BEGIN
 A:=0;
 REPEAT
 A:=A+1;
 UNTIL 0;
END;

Run for 1 minute, stop, recall A. Averaged 5 runs.

~582,000

LOOP2()
BEGIN
 FOR A FROM 0 TO 1E9 DO
 END;
END;

Run for 1 minute, stop, recall A. Averaged 5 runs.

~1,640,000

For an exact comparison with same program as 39gs.

LOOP3()
BEGIN
 1 STO A
 REPEAT
 A+1 STO A;
 UNTIL A <=0;
END;

Run for 1 minute, stop, recall A. Averaged 5 runs.

~440,000

TW

Edited: 20 Jan 2013, 11:37 a.m. after one or more responses were posted

            
Re: Calculator Speed Benchmark (Add Loop)
Message #3 Posted by Thomas Chrapkiewicz on 20 Jan 2013, 11:24 a.m.,
in response to message #2 by Tim Wessman

Tim:

Nice work, process and documentation; I'll update the sheet soon.

Regards, TomC


[ Return to Index | Top of Index ]

Go back to the main exhibit hall