12 ms·
johnfn@mac ~ % time deno eval 'console.log("hello world")' hello world deno eval 'console.log("hello world")' 0.04s user 0.02s system 87% cpu 0.074 to
by johnfn 11mo ago
johnfn@mac ~ % time deno eval 'console.log("hello world")'
hello world
deno eval 'console.log("hello world")' 0.04s user 0.02s system 87% cpu 0.074 total
johnfn@mac ~ % time bun -e 'console.log("hello world")'
hello world
bun -e 'console.log("hello world")' 0.01s user 0.00s system 84% cpu 0.013 total
That's about 560% faster. Yes, it's a microbenchmark. But you said "absolutely zero chance", not "a very small chance".
- smarnach 11mo agoThat's as far from being a general JS executing speed benchmark as it could be. It essentially just times the startup speed.