3 ms·
From Evan You: > There were number rounding issues in the original numbers for the 1k component case - Turbopack's 15ms was rounded down to 0.01s while Vite's
by ZephyrBlu 4y ago
From Evan You:
> There were number rounding issues in the original numbers for the 1k component case - Turbopack's 15ms was rounded down to 0.01s while Vite's 87ms was rounded up to 0.09s. This further got marketed as a 10x advantage when the original numbers were close to 6x.
I guess they 'typo-ed' Vite's numbers as well.
https://github.com/yyx990803/vite-vs-next-turbo-hmr/discussions/8 https://github.com/yyx990803/vite-vs-next-turbo-hmr/discussi...
- jridgewell 4y ago`0.015.toFixed(2) === "0.01"`, and `0.087.toFixed(2) === "0.09"`
- zoover2020 4y agoAt this level of detail it _is_ super misleading however to say "a 10x improvement" whilst in reality it's more like 6x