Calculator Speed Benchmark (Add Loop)



Post: #2

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


Post: #3

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


Post: #4

Tim:

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

Regards,
TomC


Forum Jump: