Benchmark

Feel free to discuss any Organiser II related topic here
Post Reply
toml12953
Posts: 19
Joined: Mon Dec 20, 2021 4:55 am

Benchmark

Post by toml12953 »

Whenever I get a new piece of programmable hardware, I like to run a standard benchmark on it to test it against other devices. One of my favorite sites is here:

https://www.thimet.de/CalcCollection/Ca ... mance.html

It has a comparison of many different handheld computers/calculators and programs for different systems.
I converted the C version to OPL and discovered that the Organiser II LZ64 (ROM 4.6) is the equivalent of the HP-38G or Casio fx-795P calculators with a runtime of 16 seconds and an index of about 21.5.
Here's my conversion:

Code: Select all

Thimet:
local t,loops%,x,r0,i%
t=hour*3600.0+minute*60+second
loops%=10
while i%<loops%
  r0=10
  do
    x=r0
    x=x+1
    x=x-4.567E-4
    x=x+70
    x=x-69
    x=x*7
    x=x/11
    r0=r0-1
  until r0<=0
  x=ln(x)
  x=sin(x)
  x=sqr(x)
  x=sqr(x)
  i%=i%+1
endwh
print x
t=hour*3600.0+minute*60+second - t
print "Loops: ";loops%
print "Time: ";t;" seconds"
print "Index: ";34/t*loops%
get
amenjet
Posts: 43
Joined: Sun Aug 22, 2021 6:56 am

Re: Benchmark

Post by amenjet »

And my emulator running on a RP Pico gives a not very exciting:

50 seconds and index of 6.8.

It might be possible to overclock the Pico though...
and if they bring out a faster version...

Regards

Andrew
User avatar
MartinReid
Posts: 128
Joined: Wed Jan 27, 2021 3:44 pm

Benchmark tests in Jape

Post by MartinReid »

Dear TomL

I tried your benchmark test (Thimet) in a few the different model options in Jape and even in the emulator they all (models below) scored 16 seconds with index 21.25.

The only anomaly was in the POS464 running Terry Kitchener'S POS2LZ64 software patch. The POS464 scored 15 seconds with index 22.66.

I don't know what all this means but I had a good time playing with it.

Models tested
CM8 3.3 ROM, XP16 3.1 ROM, LZ32 4.2 & 4.6 ROM, LZ64 4.3 & 4.6a, POS LZ ROM 4.6

Always sincere
Martin

---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Following on from the anomaly in Jape above where the P464 running POS2LZ64 gave a different result to all the others. I thought I would test it on actual Organisers with different ROMs. I don't have any CM/XP/LA's so there is scope for others to test and add theirs.

On all my LZ variants I got results = 16 seconds with index 21.25 - I notice the index (16.25) is different from TonL's post above (16.5) does this mean anything?

THIMET tested on
LZ32 ROM 4.6 (with Andrew's Pack Gadget in C:)
LZ32 ROM 4.6
LZ64 ROM 4.3
LZ64 ROM 4.6 (3 No.)
P464 ROM 4.6 running Terry Kitchener'S POS2LZ64 software patch

NEWS FLASH

I found the anomaly... It's in the difference in variable 't'! if you run the procedure 2 or 3 times you will get 15 or 16 seconds depending on the clock setting when t is assigned.

Always sincere
Martin
Post Reply