Benchmark Speed?

Discussion around the Swiss Micros DM42 calculator.
toml_12953
Posts: 507
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

Benchmark Speed?

Post by toml_12953 » Wed May 15, 2019 12:24 pm

Am I crazy or what (my wife votes YES) On https://www.hpmuseum.org/speed.htm there are a couple benchmarks. One for arithmetic and one for trig.

I put the following programs into the DM42 and got 21,880 for the Math program and 3,081 for the Trig program!
Is the DM42 really that much faster than the HP 9100 or did I not enter the programs right?
I find those numbers hard to believe.

Code: Select all

01▸LBL "MATH"
02 0
03 STO 02
04 1012340
05 STO 00
06 2.345
07 STO 01
08▸LBL 00
09 RCL 01
10 RCL 00
11 ×
12 RCL 01
13 -
14 RCL 00
15 ÷
16 RCL 01
17 ×
18 3.5
19 ÷
20 SQRT
21 1
22 STO+ 02
23 GTO 00
24 END

Code: Select all

01▸LBL "TRIG"
02 56.26
03 STO 00
04 0
05 STO 02
06▸LBL 00
07 RCL 00
08 SIN
09 ASIN
10 COS
11 ACOS
12 TAN
13 ATAN
14 LN
15 E↑X
16 1
17 STO+ 02
18 GTO 00
19 END
Last edited by toml_12953 on Thu May 16, 2019 10:58 am, edited 2 times in total.
Tom L

Nerd Emeritus

DM42 SN: 00025 (Beta)
SN: 00221 (Shipping)

grsbanks
Posts: 847
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: Benchmark Speed?

Post by grsbanks » Wed May 15, 2019 12:40 pm

The DM42 definitely IS fast. Depending on the operations you're carrying out, it'll run up to 400x faster than an HP-42S.
Not SwissMicros staff, just an enthusiast.

Thomas Okken
Posts: 589
Joined: Tue May 02, 2017 3:48 pm
Location: New Jersey, USA
Contact:

Re: Benchmark Speed?

Post by Thomas Okken » Wed May 15, 2019 12:42 pm

Calculators today are a lot faster than 50 years ago! And the DM42 runs somewhat slow in order to conserve the battery. Compare Free42 running on an iPhone, 64-bit code on a fast CPU; the numbers I get for those two benchmarks are 5,593,077 and 481,193.

toml_12953
Posts: 507
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

Re: Benchmark Speed?

Post by toml_12953 » Wed May 15, 2019 4:58 pm

grsbanks wrote:
Wed May 15, 2019 12:40 pm
The DM42 definitely IS fast. Depending on the operations you're carrying out, it'll run up to 400x faster than an HP-42S.
Looks like a lot more than 400 times to me!

HP 9100 Math final R2 value: 679
HP 9100 Trig final R2 value: 40
Last edited by toml_12953 on Wed May 15, 2019 5:04 pm, edited 1 time in total.
Tom L

Nerd Emeritus

DM42 SN: 00025 (Beta)
SN: 00221 (Shipping)

toml_12953
Posts: 507
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

Re: Benchmark Speed?

Post by toml_12953 » Wed May 15, 2019 5:02 pm

Thomas Okken wrote:
Wed May 15, 2019 12:42 pm
Calculators today are a lot faster than 50 years ago! And the DM42 runs somewhat slow in order to conserve the battery. Compare Free42 running on an iPhone, 64-bit code on a fast CPU; the numbers I get for those two benchmarks are 5,593,077 and 481,193.
¡Caramba! Any faster and that machine will give you answers before you ask the questions! :o
Tom L

Nerd Emeritus

DM42 SN: 00025 (Beta)
SN: 00221 (Shipping)

Thomas Okken
Posts: 589
Joined: Tue May 02, 2017 3:48 pm
Location: New Jersey, USA
Contact:

Re: Benchmark Speed?

Post by Thomas Okken » Wed May 15, 2019 5:20 pm

toml_12953 wrote:
Wed May 15, 2019 5:02 pm
Thomas Okken wrote:
Wed May 15, 2019 12:42 pm
Calculators today are a lot faster than 50 years ago! And the DM42 runs somewhat slow in order to conserve the battery. Compare Free42 running on an iPhone, 64-bit code on a fast CPU; the numbers I get for those two benchmarks are 5,593,077 and 481,193.
¡Caramba! Any faster and that machine will give you answers before you ask the questions! :o
Yes... It's gotten to the point where, when I'm running a program, if the program hasn't finished by the time I lift my finger from the screen, it means something is wrong. One second in the app is equivalent to hours on the original calculator.

StatsDoctor
Posts: 23
Joined: Sun Jul 08, 2018 12:47 am

Re: Benchmark Speed?

Post by StatsDoctor » Wed May 22, 2019 3:30 am

Thanks for sharing these programs and this info. Here are the results that I get. Note that comparing the iPhone results with the other results is not really a fair comparison since the iPhone itself is a small computer.

For MATH:
iPhone XS Max 512 GB, using the Free42 app – 4,176,199
DM42 – 21,339
HP 42-S – 232

The iPhone is 196 times faster than the DM42 and 18,000 times faster than the HP 42-S. The DM42 is 92 times faster than the HP 42-S.

For TRIG:
iPhone XS Max 512 GB, using the Free42 app – 332,663
DM42 – 3,022
42-S – 136

The iPhone is 110 times faster than the DM42 and 2,446 times faster than the HP 42-S. The DM42 is 22 times faster than the HP 42-S.

Note that I have several other RPN programs stored on these devices (and many MP3 music files stored on the iPhone), so this may slow things down a little. The iPhone is running off of the battery and is not charging. The battery on the DM42 is at 2.89V; this device is not connected to a computer.
Bob O.
DM42, DM15L, WP-34S, HP-42S, HP-32S, HP-32Sii; iOS: Free42, 42s (Byron), WP-34S, HP-15C

fkunz
Posts: 2
Joined: Sun May 19, 2019 7:44 am

Re: Benchmark Speed?

Post by fkunz » Wed May 22, 2019 7:15 pm

Here some more values for comparison:

Android Free42 on Nokia 6 running on battery:
MATH 3,874,281
TRIG 487,780

Android Free42 on Nokia 6 running on power supply:
MATH 7,503,283
TRIG 525,169

Free32 DEC on AMD Phenom(tm) II X3 705e Linux
MATH 1,715,889
TRIG 1,010,376

DM42 connected with USB (CPU @ 80MHz)
MATH 68,955
TRIG 8,512

Br,
Frank

RNav
Posts: 8
Joined: Mon Apr 22, 2019 12:01 pm
Location: Metro Detroit, MI USA

Re: Benchmark Speed?

Post by RNav » Thu May 23, 2019 12:50 am

All said... I'd still choose a DM42 over my smartphone app for crunching numbers.
28c, 28s, 48sx, 17bii, 32s, 33s, 35s, Prime, WP-34s, DM42 (daily user)

StatsDoctor
Posts: 23
Joined: Sun Jul 08, 2018 12:47 am

Re: Benchmark Speed?

Post by StatsDoctor » Thu May 23, 2019 4:15 am

Here are a couple of new results along with the previous ones that I reported.

For MATH:
iPhone XS Max 512 GB, using the Free42 app, running on power supply – 4,196,063
iPhone XS Max 512 GB, using the Free42 app, running on battery – 4,176,199
DM42, connected to computer with USB – 69,369
DM42, running on battery – 21,339
HP 42-S – 232

For TRIG:
iPhone XS Max 512 GB, using the Free42 app, running on power supply – 335,628
iPhone XS Max 512 GB, using the Free42 app, running on battery – 332,663
DM42, connected to computer with USB – 10,017
DM42, running on battery – 3,022
HP 42-S – 136

It is interesting that for the iPhone, running the programs using a power supply yielded only slightly better results than running the programs using the battery. For the DM42, running the programs using a power supply yielded results that were much better than running the programs using the battery.

Best,

Bob
Bob O.
DM42, DM15L, WP-34S, HP-42S, HP-32S, HP-32Sii; iOS: Free42, 42s (Byron), WP-34S, HP-15C

Post Reply