3 ms·
Without knowing against which benchmark these numbers were measured make them pretty much meaningless. YJIT achieve a 700%+ speedup on some micro-benchmarks [0]
by byroot 5y ago
Without knowing against which benchmark these numbers were measured make them pretty much meaningless. YJIT achieve a 700%+ speedup on some micro-benchmarks [0] too (see `30k_ifelse` and `30k_methods`).
But that's nowhere near the gains on more macro benchmark or real world code. I wouldn't be surprised if that 170% was on a similar micro-benchmark.
[0] https://speed.yjit.org/benchmarks/bench-2021-09-28-070945 https://speed.yjit.org/benchmarks/bench-2021-09-28-070945
- rattray 5y agoAccording to the tweet, the "benchmark" used was "Stripe's production API traffic". Certainly will have its biases but not a microbenchmark. Regardless, I hope to hear of some kind of apples-to-apples comparison as the respective projects progress!