-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Current benchmark results:
┌─────────────────┬────────┬─────────────┐
│ Backend │ Time │ vs Lyte JIT │
├─────────────────┼────────┼─────────────┤
│ LuaJIT (JIT) │ 0.035s │ 1.5x faster │
├─────────────────┼────────┼─────────────┤
│ Lyte JIT │ 0.054s │ 1x │
├─────────────────┼────────┼─────────────┤
│ LuaJIT (interp) │ 0.361s │ ~7x slower │
├─────────────────┼────────┼─────────────┤
│ Lua 5.5 │ 0.752s │ ~14x slower │
├─────────────────┼────────┼─────────────┤
│ Lyte VM │ 1.980s │ ~37x slower │
└─────────────────┴────────┴─────────────┘
For the iOS case (no JIT allowed), LuaJIT's interpreter is ~5.5x faster than the Lyte VM. LuaJIT's interpreter benefits from a highly optimized bytecode dispatch loop written in
hand-tuned assembly. That's the gap to close for the Lyte VM on iOS.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels