4 ms·
I wouldn't say that predictable performance was abandoned, but you are right that it is less of a strict guarantee these days: 1. Baseline compilers are genera
by azakai 3y ago
I wouldn't say that predictable performance was abandoned, but you are right that it is less of a strict guarantee these days:
1. Baseline compilers are generally 2x slower than optimizing ones. That's noticeable, but it is still a far smaller difference than JS has between its tiers.
2. Even WasmGC doesn't require bailouts - in fact no VM implements them for Wasm AFAIK. However WasmGC is often compiled by languages that do benefit significantly from dynamic inlining, which adds unpredictability, but again the effect (30% [0]) is far smaller than typical differences in JS.
[0] https://v8.dev/blog/wasm-gc-porting https://v8.dev/blog/wasm-gc-porting