Results for 38 of 40 languages from this run on actest1.

Unavailable in this run: Hack, Lisp. Follow the run link for failure details.

Elixir VS Nim benchmarks

Current benchmark data was generated on Sun Sep 27 2026, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz (Model 58)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

coro-prime-sieve

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 6.nim 855ms 23ms 4.7MB 837ms 0ms nim 2.2.4
nim 6.nim 932ms 9.4ms 3.0MB 920ms 0ms nim/clang 2.2.4
elixir 1.ex 5705ms 28ms 95.3MB 6130ms 317ms elixir 15.2.7
nim 5.nim 7274ms 50ms 8.1MB 7223ms 30ms nim 2.2.4
nim 5.nim 8047ms 172ms 6.4MB 7997ms 33ms nim/clang 2.2.4
nim 3.nim 26905ms 184ms 11.5MB 26857ms 27ms nim/clang 2.2.4
nim 3.nim 27665ms 109ms 14.5MB 27613ms 30ms nim 2.2.4
nim 1.nim 107046ms 771ms 2036.8MB 71373ms 33600ms nim/clang 2.2.4
nim 1.nim 108677ms 212ms 2036.9MB 72837ms 33773ms nim 2.2.4

Input: 1000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 6.nim 57ms 2.7ms 3.6MB 47ms 0ms nim 2.2.4
nim 6.nim 65ms 0.3ms 1.9MB 53ms 0ms nim/clang 2.2.4
nim 5.nim 417ms 4.9ms 4.6MB 403ms 0ms nim 2.2.4
nim 5.nim 474ms 9.7ms 2.9MB 460ms 0ms nim/clang 2.2.4
elixir 1.ex 687ms 26ms 91.2MB 853ms 163ms elixir 15.2.7
nim 3.nim 1171ms 6.6ms 6.0MB 1163ms 0ms nim 2.2.4
nim 3.nim 1197ms 26ms 3.8MB 1187ms 0ms nim/clang 2.2.4
nim 1.nim 5324ms 41ms 522.5MB 3093ms 1793ms nim 2.2.4
nim 1.nim 5430ms 115ms 518.9MB 3183ms 1807ms nim/clang 2.2.4

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
elixir 1.ex timeout (120s) — — — — elixir 15.2.7

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
elixir 1.ex 18934ms 249ms 89.8MB 19680ms 660ms elixir 15.2.7

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 1.nim 1.5ms 0.1ms 1.3MB 0ms 0ms nim/clang 2.2.4
nim 1.nim 2.5ms 0.5ms 2.1MB 0ms 0ms nim 2.2.4
elixir 1.ex 313ms 17ms 86.7MB 366ms 88ms elixir 15.2.7

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
elixir 1.ex 2709ms 78ms 89.2MB 3030ms 930ms elixir 15.2.7

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
elixir 1-m.ex 962ms 17ms 87.7MB 1167ms 357ms elixir 15.2.7

spectral-norm

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 1.nim 11029ms 35ms 1.3MB 11017ms 0ms nim/clang 2.2.4
nim 1.nim 11039ms 7.6ms 3.4MB 11027ms 0ms nim 2.2.4
elixir 1.ex 157109ms 510ms 95.5MB 157083ms 160ms elixir 15.2.7

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 1.nim 2764ms 2.5ms 1.4MB 2753ms 0ms nim/clang 2.2.4
nim 1.nim 2767ms 4.2ms 2.1MB 2753ms 0ms nim 2.2.4
elixir 1.ex 38614ms 362ms 99.3MB 38603ms 207ms elixir 15.2.7

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 1.nim 695ms 0.3ms 1.3MB 683ms 0ms nim/clang 2.2.4
nim 1.nim 696ms 2.1ms 2.1MB 687ms 0ms nim 2.2.4
elixir 1.ex 9814ms 27ms 90.8MB 9833ms 120ms elixir 15.2.7