All Javascript benchmarks

Current benchmark data was generated on Sun Oct 17 2021, full log can be found HERE

CONTRIBUTIONS are WELCOME!

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 2264ms 187ms 345.8MB 3560ms 453ms node 16.11.1
1.js 2337ms 216ms 332.2MB 3093ms 427ms node 14.18.1

Input: 14

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 355ms 69ms 100.1MB 457ms 73ms node 14.18.1
1.js 375ms 77ms 105.9MB 507ms 70ms node 16.11.1

coro-prime-sieve

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 247ms 1.6ms 52.3MB 217ms 20ms node 14.18.1
1.js 266ms 18ms 52.5MB 200ms 30ms node 16.11.1

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 43ms 1.6ms 32.7MB 28ms 4ms node 16.11.1
1.js 61ms 2.0ms 33.7MB 46ms 6ms node 14.18.1
1.js 245ms 2.9ms 259.1MB 334ms 86ms node/graal 14.16.1

http-server

Input: 3000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 3352ms 820ms 152.7MB 1863ms 437ms node 16.11.1
1.js 3483ms 853ms 134.0MB 1900ms 460ms node 14.18.1

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 462ms 6.6ms 59.9MB 410ms 87ms node 14.18.1
1.js 521ms 129ms 64.9MB 457ms 97ms node 16.11.1

json-serde

Input: sample 5000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 159ms 2.8ms 57.8MB 143ms 17ms node 16.11.1
1.js 179ms 0.7ms 56.2MB 157ms 13ms node 14.18.1
1.js 883ms 19ms 672.8MB 1240ms 293ms node/graal 14.16.1

Input: canada 15

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 1099ms 5.9ms 222.4MB 1100ms 93ms node 16.11.1
1.js 1156ms 3.7ms 215.1MB 1137ms 87ms node 14.18.1
1.js 4183ms 92ms 979.4MB 4440ms 397ms node/graal 14.16.1

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 754ms 5.9ms 38.4MB 740ms 3ms node 16.11.1
6.js 769ms 4.8ms 39.0MB 753ms 7ms node 14.18.1
6.js 4877ms 17ms 674.6MB 6300ms 323ms node/graal 14.16.1

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 124ms 0.7ms 38.7MB 107ms 7ms node 16.11.1
6.js 144ms 2.3ms 38.3MB 127ms 3ms node 14.18.1
6.js 1654ms 14ms 670.3MB 2780ms 330ms node/graal 14.16.1

pidigits

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.js 1636ms 12ms 53.6MB 1557ms 30ms node 16.11.1
3.js 1937ms 6.5ms 68.3MB 1853ms 70ms node 14.18.1

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 2639ms 24ms 51.3MB 4907ms 27ms node 14.18.1
6.js 3006ms 8.8ms 54.4MB 5650ms 30ms node 16.11.1

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 900ms 22ms 49.9MB 1440ms 30ms node 14.18.1
6.js 1018ms 73ms 54.1MB 1690ms 33ms node 16.11.1

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 211ms 1.3ms 50.1MB 247ms 20ms node 14.18.1
6.js 225ms 7.3ms 58.2MB 300ms 17ms node 16.11.1
6.js 4073ms 410ms 749.7MB 7037ms 337ms node/graal 14.16.1