The truth.
This commit is contained in:
parent
176b4a6c6b
commit
aff6268ce1
@ -190,7 +190,7 @@ Started at 1402ms for Fibonacci(30). After optimization: 219ms. **6.4x improveme
|
||||
|
||||
5-run averages comparing Rava interpreter against Python 3 interpreter and Java OpenJDK (JIT compiled):
|
||||
|
||||
**Note:** This is not a fair fight. Java uses Just-In-Time compilation to native machine code, while Rava and Python are pure interpreters executing bytecode. The comparison shows what's achievable with interpreter optimization techniques versus full native compilation.
|
||||
**Note:** Java uses Just-In-Time compilation to native machine code, while Rava and Python are pure interpreters executing bytecode. Despite this unfair advantage, Rava still manages to beat Java at string concatenation and consistently outperforms Python across most benchmarks. This demonstrates the effectiveness of Rava's interpreter optimization techniques: NaN-boxing, fast frames, method caching, superinstructions, and bounds check elimination.
|
||||
|
||||
| Benchmark | Rava | Python | Java | Winner | Best Speedup |
|
||||
|-----------|------|--------|------|--------|--------------|
|
||||
|
||||
Loading…
Reference in New Issue
Block a user