Emulator vs simulator performance
|
06-18-2020, 06:25 PM
(This post was last modified: 06-18-2020 06:28 PM by J-F Garnier.)
Post: #20
|
|||
|
|||
RE: Emulator vs simulator performance
So I run the Valentin's problem on Emu71 too since the initial question was to compare a HP-71B emulator and Free42.
Here are the results, still with 10,000 points and other defauts parameters: Emu71/Win 1.11 : 1min55s Emu71/DOS 2.45 run in VirtualBox : 1min58s (not too bad for an old 16-bit DOS program :-) (for reference, Free42 Decimal : 6.3s ) My first attempt was to adapt the 42S program with the same GOTOs, and so I identified the abnormal slow-down in Emu71/Win with GOTOs that Christoph reported above. Then I replaced the GOTOs with FOR..NEXT loops and other constructions (anyway using GOTOs is considered as a bad programming style) and the Emu71/Win performance was then similar to Emu42 emulating a HP-32SII. Here is my HP-71B program (without GOTOs): Code: 10 ! ------ The abnormal slowdown in Emu71/Win up to 1.11 occurs with GOTO/GOSUB and of course with statements directly or indirectly related to the annunciators: SFLAG/CFLAG/RADIANS/DEGREES/USER J-F |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)