HP Forums
Calculator Speed Benchmark (Add Loop) - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Calculator Speed Benchmark (Add Loop) (/thread-237477.html)



Calculator Speed Benchmark (Add Loop) - Thomas Chrapkiewicz - 01-19-2013

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) - Tim Wessman - 01-19-2013

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) - Thomas Chrapkiewicz - 01-20-2013

Tim:

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

Regards,
TomC