How fast is DM32?

Discussion around the SwissMicros DM32 calculator
User avatar
BINUBALL
Posts: 46
Joined: Fri Jan 28, 2022 3:48 am
Location: South Korea

How fast is DM32?

Post by BINUBALL »

From swissmicros.com, it reads DM32 uses Cortex-M33 160MHz(at max) processor. I don't own DM32, but I wonder if it is significantly faster than DM42 or DM41X. Anyone tested it?
S.Korean / HP-50G | fx-570EX | fx-570CW | HP-200LX
rawi
Posts: 102
Joined: Sat Dec 28, 2019 4:50 am
Location: Bavaria, Germany

Re: How fast is DM32?

Post by rawi »

Hello, I tested it (both calculators running on battery) with a program with a loop going from 1 to 7200, taking the sin of the loop variable and e^x of the result and adding up the result. Finally, the result is shown.

The program was for DM42:
01 LBL "TEST"
02 0
03 STO 00
04 STO 01
05 LBL 01
06 SIN
07 E^X
08 STO+00
09 1
10 STO+01
11 7200
12 RCL 01
13 X<Y?
14 GTO 01
15 RCL 00
16 RTN

For the DM32 it was likewise. Of course, the result was the same (9115,6743).

The execution time for the DM42: 25 seconds
For the DM 32: 8 seconds.

So it seems to be a factor of more than 3 in favor of the DM 32 if both run on battery.

With the power supply attached:
DM 42: Execution time is 10 seconds.
DM 32: Execution time is unchanged (8 seconds).

So the DM32 runs on battery a little bit faster than the DM42 with power supply.

I hope this helps a bit.
rawi
Posts: 102
Joined: Sat Dec 28, 2019 4:50 am
Location: Bavaria, Germany

Re: How fast is DM32?

Post by rawi »

Comparison to the DM41X:
This is very slow compared to both DM42 and DM32:
Same program without power supply: 640 seconds.
With power supply: 325 seconds.
User avatar
anetzer
Posts: 54
Joined: Tue May 02, 2017 8:31 pm

Re: How fast is DM32?

Post by anetzer »

rawi wrote:
Thu Jun 08, 2023 3:41 pm
Comparison to the DM41X:
This is very slow compared to both DM42 and DM32:
Same program without power supply: 640 seconds.
With power supply: 325 seconds.
Is there any slim hope of a DM41X that does not run in emulation mode?
Bill K. - USA
Posts: 157
Joined: Fri Apr 29, 2022 7:49 pm

Re: How fast is DM32?

Post by Bill K. - USA »

DM42 plugged in with current C47 code: 124 seconds. (Same answer: 9115.6743.)
Battery: 470 seconds.
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: How fast is DM32?

Post by rprosperi »

Thanks for these test results rawi, interesting for all readers here.

Regarding the question about a DM41X not running under NUT emulation, basically no, that won't happen. Redeveloping the 41CX from scratch is not a trivial task, in fact it's not even a large task, it's a huge, risky task, for no effective benefit, except being somewhat. Anyone needing calculations faster than the 41X (or the 41CL) provide really should be looking for more powerful tools, like the DM42, or 50g, Prime, etc.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
User avatar
anetzer
Posts: 54
Joined: Tue May 02, 2017 8:31 pm

Re: How fast is DM32?

Post by anetzer »

rprosperi wrote:
Fri Jun 09, 2023 12:22 am
a huge, risky task, for no effective benefit,
Thanks for clarifying!

Has anyone got their HP 32 out to compare?
Calcman54
Posts: 36
Joined: Sat Mar 10, 2018 12:24 am
Location: Toronto Canada

Re: How fast is DM32?

Post by Calcman54 »

My HP32Sii ran a 'blistering' time of 15 mins 7 secs.
HPMike
Posts: 439
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

Re: How fast is DM32?

Post by HPMike »

rawi wrote:
Thu Jun 08, 2023 3:03 pm
Hello, I tested it (both calculators running on battery) with a program with a loop going from 1 to 7200, taking the sin of the loop variable and e^x of the result and adding up the result. Finally, the result is shown.

The program was for DM42:
01 LBL "TEST"
02 0
03 STO 00
04 STO 01
05 LBL 01
06 SIN
07 E^X
08 STO+00
09 1
10 STO+01
11 7200
12 RCL 01
13 X<Y?
14 GTO 01
15 RCL 00
16 RTN

For the DM32 it was likewise. Of course, the result was the same (9115,6743).

The execution time for the DM42: 25 seconds
For the DM 32: 8 seconds.

So it seems to be a factor of more than 3 in favor of the DM 32 if both run on battery.
Speed tests can vary dramatically, depending on the nature of the program. I have run a speed test on my DM42 and DM32, both running on the battery, which yields the following results with 1000 in the X register when the program is executed:

DM32: 4 seconds timed with a stopwatch
DM42: 6.8 seconds timed by the program

So, the difference between the speed of the DM32 and DM42 using my benchmark is less than suggested by your benchmark. No doubt other tests would produce different results.

The code for the DM32 is as follows:

LBL D
STO N
0
STO S
1
STO X
LBL L
ATAN
SIN
e^x
3
1/x
y^x
STO+ S
RCL X
1
+
STO X
DSE N
GTO L
RTN

The code for the DM42 is as follows:

LBL "SPEED"
STO "Loop"
TIME
→HR
STO 00
0
STO "Sum"
1
STO "X"
LBL 01
ATAN
SIN
E↑X
3
1/x
Y↑X
STO+ "Sum"
RCL "X"
1
+
STO "X"
DSE "Loop"
GTO 01
TIME
→HR
RCL- 00
3600
x
END
Last edited by HPMike on Sat Jun 10, 2023 3:44 am, edited 1 time in total.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
Hans-Peter
Posts: 2
Joined: Wed Jan 22, 2020 10:58 pm
Location: Dornach

Re: How fast is DM32?

Post by Hans-Peter »

9115.6743 and about 930sec on my HP32sII
Greetings from Basel
Post Reply