ssr-benchmarks
ssr-benchmarks copied to clipboard
Bench using bun runtime
The script was still built using previous methods (rollup
, babel
, etc.). Wondering if building with bun will produce a more optimized code to be run with bun.
Update:
Huh, react-ssr
with Bun compiled output is actually slower: https://github.com/jackyef/ssr-benchmarks/pull/6/commits/8b748eade303fb7655a04c891cb3f4f0b2904f96
Update 2:
After updating react-ssr
build script, the number is now exactly the same as running babel-generated output with bun https://github.com/jackyef/ssr-benchmarks/pull/6/commits/c0ef0d0faec693d7b60b618590f46935d2ea4d75
Update 3: Latest number with React 18, bun-built output + bun runtime is 20% faster!