Benchmark Speed?

Discussion around the SwissMicros DM42 calculator
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Benchmark Speed?

Post by toml_12953 »

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 12:58 pm, edited 2 times in total.
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: Benchmark Speed?

Post by grsbanks »

The DM42 definitely IS fast. Depending on the operations you're carrying out, it'll run up to 400x faster than an HP-42S.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
Thomas Okken
Posts: 1100
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: Benchmark Speed?

Post by Thomas Okken »

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: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: Benchmark Speed?

Post by toml_12953 »

grsbanks wrote:
Wed May 15, 2019 2: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 7:04 pm, edited 1 time in total.
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: Benchmark Speed?

Post by toml_12953 »

Thomas Okken wrote:
Wed May 15, 2019 2: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

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Thomas Okken
Posts: 1100
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: Benchmark Speed?

Post by Thomas Okken »

toml_12953 wrote:
Wed May 15, 2019 7:02 pm
Thomas Okken wrote:
Wed May 15, 2019 2: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: 33
Joined: Sun Jul 08, 2018 2:47 am
Contact:

Re: Benchmark Speed?

Post by StatsDoctor »

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 35s, HP 33s, HP-32S, HP-32Sii, HP-15C; iOS: Plus42, Free42, WP-34S, HP-15C
fkunz
Posts: 2
Joined: Sun May 19, 2019 9:44 am

Re: Benchmark Speed?

Post by fkunz »

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: 15
Joined: Mon Apr 22, 2019 2:01 pm
Location: Metro Detroit, MI USA

Re: Benchmark Speed?

Post by RNav »

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: 33
Joined: Sun Jul 08, 2018 2:47 am
Contact:

Re: Benchmark Speed?

Post by StatsDoctor »

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 35s, HP 33s, HP-32S, HP-32Sii, HP-15C; iOS: Plus42, Free42, WP-34S, HP-15C
Post Reply