HP Forums

Full Version: Benchmarker for HP Prime
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There's been a lot of "How much faster than the Rev. C Prime is the G2?" so I decided to put together a kind of benchmarker that you can use to compare the two.

The benchmark in itself is probably of limited value in absolute terms but gives a good idea of the differences between different machines.

This is a "suite" of 3 tests built into the same app. The "Savage" benchmark gives an idea of the accuracy of the engine, the "Summation" test times how quickly the machine can chew through calculations involving transcendental functions and, finally, the "N Queens" test gives an idea of how well the machine deals with decision making and branching (no floating point is involved).

Download link: https://s3-eu-west-1.amazonaws.com/xferp...appdir.zip

As soon as you start the app you'll get a menu in which you can choose the number of iterations for the first two tests and the size of the board for the N-Queens test:

[Image: menu1.png][Image: menu2.png][Image: menu3.png]

Hit the [OK] soft key when you're done and let your Prime go away and crunch numbers for a while (you'll see the animated hourglass in the top-right corner of the screen). Quick tip: don't leave your Prime connected to your computer while doing this because the constant chatter over the USB link does slow the Prime down.

When it's finished running the tests, it'll spit out some statistics for you in the Terminal screen. The results I get below are firstly from one of my Rev. C Primes, then from my G2 Prime and finally from the Virtual Prime running on my Core i5 3GHz with 16GB DDR4 RAM.

[Image: revcresults.png][Image: g2results.png][Image: vpresults.png]
Outstanding job !!
I've just updated this with usage information in the App.Info.

The download link is still the same.

Are the tests the following:
http://www.wiki4hp.com/doku.php?id=bench...g_exp_root (sum of various functions)
http://www.wiki4hp.com/doku.php?id=benchmarks:savage (similar sum but with inverse functions)
http://www.hpmuseum.org/cgi-sys/cgiwrap/...i?read=700 (n queen)

or some variation of those?
Thank you very much for the benchmark app, grsbanks!

On my 4 years old Nexus 6 (Android 7.1.1, Snapdragon 805 Quad-core 2.7 GHz, 3 GB RAM):

(09-15-2018 05:48 PM)pier4r Wrote: [ -> ]Are the tests the following:
or some variation of those?

Look at the App Info Smile
Checked thanks. Not having the prime ready, I learned that the prime files can be opened with a normal text file without much problems.

just tried it in the MacOS virtual Prime (Beta).

Nqueens 10 crashes the virtual Prime; it's intermittent, doesn't happen every time.

oops Smile
Checked on physical units rev C and D using the same parameters as the examples above

Rev. C:
Savage results:
iterations 24,8 s
summation: 27,7 s
queens all 724 solutions: 273,3 s

Rev. D:
Savage results:
iterations 8,4 s
summation: 9,11 s
queens all 724 solutions: 81,6 s
Reference URL's