The Array Language
Benchmarks Game

Fastest contributed programs, grouped by programming language implementation

shamelessly borrowed from The Computer Language Benchmarks Game

Benchmark program elapsed seconds compared to the fastest for selected programming language implementations.

× source secs mem gz cpu secs
0.264 knucleotide.bqn 0.02 34,111 848 0.02
0.933 knucleotide.goal 0.09 89,821 274 0.10
1.00 knucleotide.c 0.09 15,282 2,632 0.31
1.33 knucleotide.growler.k 0.12 135,578 308 0.12
10.1 knucleotide.py 0.94 34,583 724 0.91
1.00 nbody.c 0.04 2,413 1,303 0.04
19.9 nbody.bqn 0.84 9,208 1,153 0.84
23.7 nbody.growler.k 1.00 4,243 876 1.00
67.9 nbody.goal 2.87 12,898 993 3.23
79.0 nbody.py 3.34 13,963 1,411 3.31

The benchmark is run on an i5-1135g7 (tiger lake, some avx512) and each process is limited to 1GB of memory

These are the descriptions for nbody and knucleotide benchmarks.

Python and gcc are included in the game as the languages to beat.

Please propose interesting new benchmarks -- maybe more from The Computer Language Benchmarks Game.

Please contribute more programs for your favourite array language. Note there are no rules for contributed code, unlike the CLBG.