mirror of
https://github.com/bobbimanners/EightBall.git
synced 2025-02-16 10:32:33 +00:00
Added v0.75 benchmark results
parent
c294552c15
commit
4133f03401
@ -13,4 +13,6 @@ The compiler is achieving a speedup of 8.65 compared to the interpreter.
|
||||
|
||||
**Update** Tested with v0.68 which has some performance enhancements in the compiler and VM (to make cleaning up the call stack faster after function return). The compiled code now takes 41 seconds, a modest speedup. However this code does not do a lot of function call/return. Bigger improvements would be expected for more typical workloads.
|
||||
|
||||
**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 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 29 seconds from completion of loading bytecode until termination.
|
Loading…
x
Reference in New Issue
Block a user