All Javascript benchmarks

Current benchmark data was generated on Tue Jan 18 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 1852ms 31ms 334.0MB 2790ms 360ms node 16.13.2
1.js 1923ms 41ms 366.2MB 2917ms 350ms node 17.3.1

Input: 14

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 360ms 4.6ms 107.5MB 503ms 73ms node 16.13.2
1.js 368ms 6.3ms 110.7MB 520ms 57ms node 17.3.1

coro-prime-sieve

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 238ms 14ms 53.1MB 200ms 20ms node 16.13.2
1.js 241ms 3.9ms 55.9MB 217ms 17ms node 17.3.1

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 45ms 2.2ms 33.0MB 32ms 4ms node 16.13.2
1.js 50ms 1.2ms 35.8MB 40ms 0ms node 17.3.1
1.js 248ms 8.8ms 284.1MB 360ms 72ms node/graal 14.17.6

http-server

Input: 3000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 3826ms 148ms 151.6MB 1640ms 403ms node 16.13.2
1.js 3928ms 36ms 150.5MB 1670ms 330ms node 17.3.1

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 392ms 3.7ms 66.5MB 377ms 63ms node 17.3.1
1.js 419ms 13ms 63.8MB 370ms 73ms node 16.13.2

json-serde

Input: sample 5000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 154ms 3.2ms 57.8MB 133ms 13ms node 16.13.2
1.js 157ms 1.2ms 59.8MB 140ms 10ms node 17.3.1
1.js 831ms 23ms 684.4MB 1193ms 273ms node/graal 14.17.6

Input: canada 15

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 1026ms 6.1ms 222.3MB 1003ms 77ms node 16.13.2
1.js 1041ms 10ms 224.2MB 1057ms 67ms node 17.3.1
1.js 3770ms 37ms 997.5MB 4147ms 393ms node/graal 14.17.6

lru

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 3673ms 14ms 40.5MB 3667ms 7ms node 16.13.2
1.js 3692ms 7.9ms 43.6MB 3680ms 10ms node 17.3.1

Input: 1000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 784ms 7.3ms 37.8MB 767ms 13ms node 16.13.2
1.js 790ms 1.4ms 39.9MB 777ms 3ms node 17.3.1
1.js 1624ms 32ms 707.2MB 2307ms 290ms node/graal 14.17.6

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 418ms 3.5ms 38.1MB 407ms 3ms node 16.13.2
1.js 425ms 0.2ms 42.1MB 407ms 7ms node 17.3.1
1.js 1214ms 64ms 678.6MB 1913ms 240ms node/graal 14.17.6

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 681ms 9.3ms 39.1MB 667ms 3ms node 16.13.2
6.js 699ms 13ms 45.6MB 687ms 3ms node 17.3.1
6.js 3869ms 36ms 683.6MB 5680ms 300ms node/graal 14.17.6

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 117ms 0.9ms 39.1MB 107ms 3ms node 16.13.2
6.js 125ms 0.9ms 41.6MB 113ms 0ms node 17.3.1
6.js 1718ms 7.0ms 686.5MB 2967ms 273ms node/graal 14.17.6

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 68ms 1.7ms 39.1MB 57ms 3ms node 16.13.2
6.js 74ms 0.3ms 45.6MB 63ms 3ms node 17.3.1
6.js 853ms 15ms 659.6MB 1283ms 270ms node/graal 14.17.6

pidigits

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.js 1665ms 60ms 54.0MB 1553ms 40ms node 16.13.2
3.js 1684ms 51ms 57.3MB 1597ms 33ms node 17.3.1

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.js 126ms 8.3ms 38.0MB 100ms 17ms node 16.13.2
3.js 135ms 4.7ms 40.8MB 107ms 13ms node 17.3.1

secp256k1

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 1012ms 4.0ms 40.7MB 1013ms 10ms node 16.13.2
1.js 1020ms 3.4ms 44.8MB 1020ms 10ms node 17.3.1
1.js 2327ms 16ms 711.3MB 4193ms 273ms node/graal 14.17.6

Input: 50

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.js 155ms 4.4ms 40.7MB 147ms 7ms node 16.13.2
1.js 159ms 0.4ms 43.7MB 150ms 7ms node 17.3.1
1.js 738ms 3.9ms 656.4MB 1057ms 273ms node/graal 14.17.6

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 2717ms 1.3ms 54.8MB 5157ms 20ms node 16.13.2
6.js 2751ms 8.3ms 58.7MB 5183ms 17ms node 17.3.1

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 830ms 7.3ms 54.3MB 1480ms 13ms node 16.13.2
6.js 846ms 1.2ms 58.0MB 1500ms 17ms node 17.3.1

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.js 215ms 2.4ms 53.8MB 283ms 13ms node 16.13.2
6.js 227ms 3.1ms 58.1MB 287ms 20ms node 17.3.1
6.js 2998ms 86ms 727.8MB 5073ms 323ms node/graal 14.17.6