All Nim 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

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 2344ms 117ms 0.7MB 630ms 777ms nim 1.6.2

Input: 250000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 341ms 66ms 0.7MB 50ms 80ms nim 1.6.2

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 1.5ms 0.6ms 0.7MB 0ms 0ms nim 1.6.2

http-server

Input: 3000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 694ms 3.9ms 77.5MB 230ms 433ms nim 1.6.2

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 118ms 1.5ms 19.6MB 23ms 77ms nim 1.6.2

lru

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 1044ms 3.1ms 1.8MB 1037ms 0ms nim 1.6.2

Input: 1000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 212ms 0.7ms 1.9MB 200ms 0ms nim 1.6.2

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 107ms 0.4ms 1.8MB 100ms 0ms nim 1.6.2

mandelbrot

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 2510ms 1.1ms 9.3MB 2500ms 0ms nim 1.6.2

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 43ms 0.8ms 1.7MB 33ms 0ms nim 1.6.2

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.nim 426ms 0.2ms 0.9MB 413ms 0ms nim 1.6.2

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.nim 44ms 0.1ms 1.0MB 30ms 0ms nim 1.6.2

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.nim 10ms 0.7ms 0.9MB 0ms 0ms nim 1.6.2

nsieve

Input: 12

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.nim 619ms 2.7ms 10.1MB 607ms 0ms nim 1.6.2
1.nim 866ms 48ms 70.9MB 843ms 10ms nim 1.6.2

Input: 10

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 127ms 1.0ms 18.8MB 107ms 7ms nim 1.6.2
2.nim 143ms 0.7ms 3.7MB 130ms 0ms nim 1.6.2

pidigits

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 1484ms 1.9ms 14.4MB 1467ms 3ms nim 1.6.2

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 4123ms 4.9ms 3.0MB 4110ms 0ms nim 1.6.2

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 1031ms 0.2ms 2.4MB 1020ms 0ms nim 1.6.2
2.nim 2288ms 530ms 3.1MB 1710ms 2043ms nim 1.6.2

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.nim 67ms 1.1ms 1.9MB 60ms 0ms nim 1.6.2
2.nim 863ms 8.3ms 2.1MB 313ms 883ms nim 1.6.2