WP-34S function execution speed ?



#5

Is there a table somewhere that lists the functions and how long it takes for each to execute?

I know some are variable depending on the input arguments, but I didn't see such a table in the manual.

For example, something like this:

+ 5ms

- 11ms

SIN 200ms

etc


?


#6

No.

Fast or slow mode? With or without crystal? Which firmware version?


- Pauli


#7

Pauli, that's an answer I would expect from HP! :-) I think several versions should be available.

At the very least, non-crystal, slow mode, version 2 and version 3 firmware.

I would suspect a very small percentage of units have the crystal.

Fast mode could be generalized as X% faster than slow mode.

It seems to me :-) that *some* list should be available...or else how will non-developers know which instructions slow down their programming contest entries this year at HHC 2013?


#8

Quote:
It seems to me :-) that *some* list should be available...or else how will non-developers know which instructions slow down their programming contest entries this year at HHC 2013?



Some mysteries are better left discovered. The fun is in the journey, the destination is the reward.
#9

Quote:
At the very least, non-crystal, slow mode, version 2 and version 3 firmware.

Non crystal timings are quite variable. That is the point of having a crystal.

Firmware versions would ideally have to be more finely grained than just 2 and 3. Marcus and I made a lot of space/time tradeoffs during the development of 3. The obvious way to deal with this is to benchmark the latest version 2 and version 3 revisions. Firmware version 3 is unlikely to change significantly now so it wouldn't need regular major revisions anymore.


Quote:
It seems to me :-) that *some* list should be available...or else how will non-developers know which instructions slow down their programming contest entries this year at HHC 2013?

Sounds like you've found a project :-)

It is straightforward to write timing loops using the TICKS command and check each instruction as required. That's what I've done in the past when performance was an issue (re-implementing LN mostly). Something along the lines of:

        LBL A
EEX
3
STO 00
TICKS
STO 01
LBL 00
[<->] ZZZZ
function
DSZ 00
GTO 00
TICKS
RCL- 01
RTN

I don't believe anyone knows the instruction timings -- I certainly don't. For most instructions I don't even have a feel as to their relative timings.

One thing I am confident about, however, is that Version 2 firmware will be faster than version 3 pretty much across the board. Many space for time tradeoffs were made in version 3 to squeeze the significant extra functionality in.


- Pauli


Possibly Related Threads…
Thread Author Replies Views Last Post
  [WP-34S] Unfortunate key damage with update to V3 :( svisvanatha 5 3,300 12-10-2013, 11:37 PM
Last Post: Les Bell
  HP50g: Writing a function that returns a function Chris de Castro 2 2,188 12-10-2013, 06:49 PM
Last Post: Han
  WP-34S (Emulator Program Load/Save) Barry Mead 1 1,878 12-09-2013, 05:29 PM
Last Post: Marcus von Cube, Germany
  DIY HP 30b WP 34s serial flash/programming cable Richard Wahl 2 2,608 12-04-2013, 11:14 AM
Last Post: Barry Mead
  48G vs 49G+ User RPL Speed Comparison John Colvin 7 2,726 11-16-2013, 10:07 PM
Last Post: Han
  WP 34S/43 ?'s Richard Berler 3 2,130 11-10-2013, 02:27 AM
Last Post: Walter B
  My FrankenCulator (wp-34s) FORTIN Pascal 4 2,251 11-09-2013, 06:18 PM
Last Post: FORTIN Pascal
  WP 34S Owner's Handbook Walter B 5 2,756 11-09-2013, 05:34 PM
Last Post: Harald
  wp 34s overlay and programming. FORTIN Pascal 6 2,990 11-08-2013, 01:28 PM
Last Post: Nick_S
  m.dy in display of WP-34S Harold A Climer 3 2,004 11-05-2013, 11:28 AM
Last Post: Andrew Nikitin

Forum Jump: