Added results of latest speedup of VM code

Bobbi Webber-Manners 2018-06-03 17:56:33 -04:00
parent f8d485813b
commit 9ad66f10a6

@ -15,4 +15,6 @@ The compiler is achieving a speedup of 8.65 compared to the interpreter.
**Update 2** Tested with pre-release v0.70. This code has immediate mode VM instruction for jump (`JMPI`), branch (`BRCI`), call (`JSRI`) and load (`LDAWI`, `LDRWI`, `LDABI`, `LDRBI`). I have not done the same enhancement for the store instructions yet. Benchmark time is reduced to 32 seconds from completion of loading bytecode until termination. This is a pretty big speedup - 11.6 times as fast as the interpreter.
**Update 3** Tested with pre-release v0.75 (on Apple II). The VM now uses zero page locations for evaluation stack and registers. Benchmark time is now 25 seconds from completion of loading bytecode until termination.
**Update 3** Tested with pre-release v0.75 (on Apple II). The VM now uses zero page locations for evaluation stack and registers. Benchmark time is now 25 seconds from completion of loading bytecode until termination.
**Update 4** Tested with pre-release v0.76 (on Apple II). Refactored the VM code to use a jump table. Benchmark time is now **21 seconds** from completion of loading bytecode until termination.