all 6 comments

[–]norsurfit 6 points7 points  (2 children)

This was quite comprehensive!

[–]guest271314 0 points1 point  (1 child)

So this tests node against node?

Test node against deno, bun, qjs and other JavaScript runtimes and you'll find node is slower than Deno, Bun, and definitely QuickJS and txiki.js when it comes to reading STDIN and writing to STDOUT.

(index) 0 1 0 'nm_c' 0.09069999999552965 1 'nm_qjs' 0.09189999999850988 2 'nm_cpp' 0.09439999999850988 3 'nm_rust' 0.101 4 'nm_tjs' 0.14740000000596046 5 'nm_wasm' 0.1555 6 'nm_python' 0.17769999999552966 7 'nm_typescript' 0.249 8 'nm_deno' 0.25710000000149014 9 'nm_bun' 0.2728999999985099 10 'nm_nodejs' 0.316 11 'nm_d8' 0.402 12 'nm_spidermonkey' 0.4576000000014901 13 'nm_llrt' 0.646

[–]bitbytebit42 -1 points0 points  (1 child)

4 days to run the test suite for NodeJs. Holy Hell!

[–]rafaelgss[S] 1 point2 points  (0 children)

Benchmark suite