Releases: acheronfail/count
Releases · acheronfail/count
181
Execution time |
Binary size1 |
Max Memory Usage |
# |
name |
mean |
1 |
zig |
309.58782ms |
2 |
pascal |
310.07693ms |
3 |
assembly |
310.08662ms |
4 |
c-gcc |
310.15703ms |
5 |
nim |
310.21840ms |
6 |
c-clang |
310.26003ms |
7 |
go |
310.68106ms |
8 |
fortran |
310.70679ms |
9 |
rust |
311.06095ms |
10 |
cpp-clang |
311.35834ms |
11 |
cpp-gcc |
311.41966ms |
12 |
bun |
324.27107ms |
13 |
node |
336.17700ms |
14 |
deno |
339.18068ms |
15 |
kotlin |
340.34606ms |
16 |
java |
341.23036ms |
17 |
coffeescript |
388.48238ms |
18 |
csharp |
481.67667ms |
19 |
scala |
689.98566ms |
20 |
crystal |
1.72375s |
21 |
erlang |
2.28689s |
22 |
php |
3.14322s |
23 |
forth |
4.49676s |
24 |
lua |
5.20632s |
25 |
ruby |
6.36224s |
26 |
haskell |
17.98283s |
27 |
cobol |
19.69433s |
28 |
perl |
29.95372s |
29 |
julia |
33.37916s |
30 |
python3 |
34.35533s |
31 |
smalltalk |
1.97080m |
32 |
prolog |
2.60982m |
|
binary:
# |
name |
size |
1 |
assembly |
249.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.1120000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6880000 kB |
8 |
nim |
153.4800000 kB |
9 |
prolog |
221.8190000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1786080 MB |
12 |
go |
1.8587210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
bytecode:
# |
name |
size |
1 |
java |
517.0000000 B |
2 |
erlang |
888.0000000 B |
3 |
scala |
1.5300000 kB |
4 |
csharp |
3.0720000 kB |
5 |
kotlin |
3.1305400 MB |
|
# |
name |
rss |
1 |
assembly |
12.2880000 kB |
2 |
zig |
192.5120000 kB |
3 |
pascal |
532.4800000 kB |
4 |
c-clang |
1.5400960 MB |
5 |
nim |
1.5810560 MB |
6 |
c-gcc |
1.6343040 MB |
7 |
rust |
2.0398080 MB |
8 |
fortran |
2.3183360 MB |
9 |
lua |
2.6050560 MB |
10 |
forth |
3.1662080 MB |
11 |
cpp-gcc |
3.6864000 MB |
12 |
cpp-clang |
3.6904960 MB |
13 |
haskell |
4.1492480 MB |
14 |
perl |
4.9070080 MB |
15 |
go |
7.0615040 MB |
16 |
cobol |
7.2867840 MB |
17 |
python3 |
7.8028800 MB |
18 |
smalltalk |
8.0527360 MB |
19 |
prolog |
9.7894400 MB |
20 |
php |
16.3840000 MB |
21 |
csharp |
20.0458240 MB |
22 |
ruby |
31.1787520 MB |
23 |
node |
41.0501120 MB |
24 |
coffeescript |
43.4380800 MB |
25 |
deno |
46.4158720 MB |
26 |
erlang |
53.3544960 MB |
27 |
java |
82.0469760 MB |
28 |
bun |
82.2231040 MB |
29 |
kotlin |
86.2576640 MB |
30 |
crystal |
270.4506880 MB |
31 |
scala |
279.5356160 MB |
32 |
julia |
302.1537280 MB |
|
- 1: only includes compiled files (i.e., does not include runtimes or libraries required for execution)
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.16.01 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
node /usr/bin/coffee ./count.coffee 1000000000 |
CoffeeScript version 2.7.0 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.1 [0aa30372c] (2024-01-11) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 17:29:20 UTC 2022) |
deno |
deno run count.deno 1000000000 |
deno 1.39.4 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
sh /usr/bin/erl -noshell -s count start 1000000000 |
25.2.3 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
go |
./count 1000000000 |
go version go1.20.3 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 9.0.2 |
java |
java count 1000000000 |
javac 17.0.9 |
|
|
openjdk 17.0.9 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. |
|
|
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 17.0.9+9-Ubuntu-123.04) |
|
|
openjdk 17.0.9 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.11.0 ... |
Read more
180
Execution time |
Binary size1 |
Max Memory Usage |
# |
name |
mean |
1 |
assembly |
309.78758ms |
2 |
zig |
309.79181ms |
3 |
nim |
310.08377ms |
4 |
c-gcc |
310.11388ms |
5 |
c-clang |
310.17703ms |
6 |
pascal |
310.25036ms |
7 |
cpp-clang |
310.63705ms |
8 |
fortran |
310.63886ms |
9 |
cpp-gcc |
310.88596ms |
10 |
go |
310.92438ms |
11 |
rust |
311.85703ms |
12 |
bun |
325.29622ms |
13 |
node |
337.85018ms |
14 |
deno |
338.15510ms |
15 |
java |
340.79144ms |
16 |
kotlin |
346.78470ms |
17 |
coffeescript |
387.39222ms |
18 |
csharp |
482.49788ms |
19 |
scala |
702.51369ms |
20 |
crystal |
1.74446s |
21 |
erlang |
2.27829s |
22 |
php |
3.11409s |
23 |
forth |
4.39622s |
24 |
lua |
5.29125s |
25 |
ruby |
6.34443s |
26 |
haskell |
17.90952s |
27 |
cobol |
19.35131s |
28 |
perl |
29.66070s |
29 |
julia |
33.22395s |
30 |
python3 |
34.28355s |
31 |
smalltalk |
1.97340m |
32 |
prolog |
2.60298m |
|
binary:
# |
name |
size |
1 |
assembly |
249.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.1120000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6880000 kB |
8 |
nim |
153.4800000 kB |
9 |
prolog |
221.8200000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1786080 MB |
12 |
go |
1.8587210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
bytecode:
# |
name |
size |
1 |
java |
517.0000000 B |
2 |
erlang |
888.0000000 B |
3 |
scala |
1.5300000 kB |
4 |
csharp |
3.0720000 kB |
5 |
kotlin |
3.1305400 MB |
|
# |
name |
rss |
1 |
assembly |
8.1920000 kB |
2 |
zig |
192.5120000 kB |
3 |
pascal |
532.4800000 kB |
4 |
nim |
1.5319040 MB |
5 |
c-clang |
1.5564800 MB |
6 |
c-gcc |
1.6056320 MB |
7 |
rust |
2.1872640 MB |
8 |
fortran |
2.3920640 MB |
9 |
lua |
2.5763840 MB |
10 |
forth |
3.1948800 MB |
11 |
cpp-clang |
3.7191680 MB |
12 |
cpp-gcc |
3.8912000 MB |
13 |
haskell |
4.0304640 MB |
14 |
perl |
5.1404800 MB |
15 |
go |
7.0615040 MB |
16 |
cobol |
7.5489280 MB |
17 |
python3 |
7.6922880 MB |
18 |
smalltalk |
8.0035840 MB |
19 |
prolog |
9.7976320 MB |
20 |
php |
16.2406400 MB |
21 |
csharp |
21.9586560 MB |
22 |
ruby |
31.2033280 MB |
23 |
node |
41.0214400 MB |
24 |
coffeescript |
43.3971200 MB |
25 |
deno |
46.5756160 MB |
26 |
erlang |
52.9899520 MB |
27 |
bun |
70.4675840 MB |
28 |
kotlin |
84.9018880 MB |
29 |
java |
86.3272960 MB |
30 |
scala |
188.9280000 MB |
31 |
crystal |
270.2950400 MB |
32 |
julia |
302.6944000 MB |
|
- 1: only includes compiled files (i.e., does not include runtimes or libraries required for execution)
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.16.01 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
node /usr/bin/coffee ./count.coffee 1000000000 |
CoffeeScript version 2.7.0 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.1 [0aa30372c] (2024-01-11) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 17:29:20 UTC 2022) |
deno |
deno run count.deno 1000000000 |
deno 1.39.4 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
sh /usr/bin/erl -noshell -s count start 1000000000 |
25.2.3 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
go |
./count 1000000000 |
go version go1.20.3 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 9.0.2 |
java |
java count 1000000000 |
javac 17.0.9 |
|
|
openjdk 17.0.9 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. |
|
|
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 17.0.9+9-Ubuntu-123.04) |
|
|
openjdk 17.0.9 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.11.0 ... |
Read more
176
Execution time |
Binary size1 |
Max Memory Usage |
# |
name |
mean |
1 |
c-gcc |
302.23942ms |
2 |
zig |
309.65074ms |
3 |
assembly |
309.68577ms |
4 |
pascal |
310.07271ms |
5 |
nim |
310.07740ms |
6 |
c-clang |
310.16453ms |
7 |
fortran |
310.46184ms |
8 |
rust |
310.49854ms |
9 |
cpp-clang |
310.67473ms |
10 |
cpp-gcc |
311.02700ms |
11 |
go |
311.05028ms |
12 |
bun |
325.06371ms |
13 |
node |
337.24952ms |
14 |
deno |
338.03657ms |
15 |
java |
340.98017ms |
16 |
kotlin |
347.93388ms |
17 |
coffeescript |
390.50600ms |
18 |
csharp |
481.23077ms |
19 |
scala |
691.91366ms |
20 |
crystal |
1.83925s |
21 |
erlang |
2.27280s |
22 |
php |
3.24392s |
23 |
forth |
4.37152s |
24 |
lua |
5.30058s |
25 |
ruby |
6.41053s |
26 |
haskell |
17.93855s |
27 |
cobol |
19.51763s |
28 |
perl |
30.02463s |
29 |
julia |
33.17299s |
30 |
python3 |
34.26798s |
31 |
smalltalk |
1.99531m |
32 |
prolog |
2.60631m |
|
binary:
# |
name |
size |
1 |
assembly |
249.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.1120000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6880000 kB |
8 |
nim |
153.4800000 kB |
9 |
prolog |
221.8160000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1786080 MB |
12 |
go |
1.8587210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
bytecode:
# |
name |
size |
1 |
java |
517.0000000 B |
2 |
erlang |
888.0000000 B |
3 |
scala |
1.5300000 kB |
4 |
csharp |
3.0720000 kB |
5 |
kotlin |
3.1305400 MB |
|
# |
name |
rss |
1 |
assembly |
8.1920000 kB |
2 |
zig |
192.5120000 kB |
3 |
pascal |
532.4800000 kB |
4 |
nim |
1.4991360 MB |
5 |
c-clang |
1.5564800 MB |
6 |
c-gcc |
1.6424960 MB |
7 |
rust |
2.0684800 MB |
8 |
fortran |
2.3920640 MB |
9 |
lua |
2.6705920 MB |
10 |
forth |
3.1539200 MB |
11 |
cpp-clang |
3.6372480 MB |
12 |
cpp-gcc |
3.8871040 MB |
13 |
haskell |
4.0017920 MB |
14 |
perl |
5.0053120 MB |
15 |
go |
7.0615040 MB |
16 |
cobol |
7.5489280 MB |
17 |
python3 |
7.7168640 MB |
18 |
smalltalk |
7.9421440 MB |
19 |
prolog |
9.6092160 MB |
20 |
php |
16.3389440 MB |
21 |
csharp |
19.8328320 MB |
22 |
ruby |
31.0886400 MB |
23 |
node |
41.0091520 MB |
24 |
coffeescript |
43.1677440 MB |
25 |
deno |
46.5469440 MB |
26 |
erlang |
53.2111360 MB |
27 |
bun |
68.2557440 MB |
28 |
java |
82.1493760 MB |
29 |
kotlin |
85.7948160 MB |
30 |
crystal |
270.0574720 MB |
31 |
scala |
278.4174080 MB |
32 |
julia |
302.5960960 MB |
|
- 1: only includes compiled files (i.e., does not include runtimes or libraries required for execution)
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.16.01 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
node /usr/bin/coffee ./count.coffee 1000000000 |
CoffeeScript version 2.7.0 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.1 [0aa30372c] (2024-01-11) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 17:29:20 UTC 2022) |
deno |
deno run count.deno 1000000000 |
deno 1.39.4 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
sh /usr/bin/erl -noshell -s count start 1000000000 |
25.2.3 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
go |
./count 1000000000 |
go version go1.20.3 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 9.0.2 |
java |
java count 1000000000 |
javac 17.0.9 |
|
|
openjdk 17.0.9 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. |
|
|
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 17.0.9+9-Ubuntu-123.04) |
|
|
openjdk 17.0.9 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.11.0 ... |
Read more
175
Execution time |
Binary size1 |
Max Memory Usage |
# |
name |
mean |
1 |
assembly |
309.53140ms |
2 |
zig |
309.60206ms |
3 |
pascal |
309.95524ms |
4 |
nim |
310.16339ms |
5 |
c-gcc |
310.30676ms |
6 |
rust |
310.44284ms |
7 |
go |
310.64696ms |
8 |
c-clang |
310.69316ms |
9 |
fortran |
310.83642ms |
10 |
cpp-gcc |
310.91859ms |
11 |
cpp-clang |
311.15844ms |
12 |
bun |
324.24331ms |
13 |
node |
336.04674ms |
14 |
deno |
338.16876ms |
15 |
java |
339.66915ms |
16 |
kotlin |
348.28933ms |
17 |
coffeescript |
393.21757ms |
18 |
csharp |
481.30486ms |
19 |
scala |
676.00677ms |
20 |
crystal |
1.75592s |
21 |
erlang |
2.27765s |
22 |
php |
3.10233s |
23 |
forth |
4.80376s |
24 |
lua |
5.27623s |
25 |
ruby |
6.97590s |
26 |
haskell |
18.12301s |
27 |
cobol |
19.36580s |
28 |
perl |
29.71626s |
29 |
julia |
33.37008s |
30 |
python3 |
35.61465s |
31 |
smalltalk |
1.97676m |
32 |
prolog |
2.54330m |
|
binary:
# |
name |
size |
1 |
assembly |
249.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.1120000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6880000 kB |
8 |
nim |
153.4800000 kB |
9 |
prolog |
221.8470000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1786080 MB |
12 |
go |
1.8587210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
bytecode:
# |
name |
size |
1 |
java |
209.0000000 B |
2 |
erlang |
888.0000000 B |
3 |
scala |
1.5300000 kB |
4 |
csharp |
3.0720000 kB |
5 |
kotlin |
3.1305400 MB |
|
# |
name |
rss |
1 |
assembly |
12.2880000 kB |
2 |
zig |
188.4160000 kB |
3 |
pascal |
532.4800000 kB |
4 |
c-clang |
1.5769600 MB |
5 |
nim |
1.5810560 MB |
6 |
c-gcc |
1.6179200 MB |
7 |
rust |
1.9537920 MB |
8 |
fortran |
2.3142400 MB |
9 |
lua |
2.6009600 MB |
10 |
forth |
3.1457280 MB |
11 |
cpp-gcc |
3.7068800 MB |
12 |
cpp-clang |
3.7396480 MB |
13 |
haskell |
4.1574400 MB |
14 |
perl |
4.9848320 MB |
15 |
go |
7.0615040 MB |
16 |
cobol |
7.3605120 MB |
17 |
python3 |
7.7004800 MB |
18 |
smalltalk |
7.9134720 MB |
19 |
prolog |
9.7853440 MB |
20 |
php |
16.3020800 MB |
21 |
csharp |
17.5841280 MB |
22 |
ruby |
31.1255040 MB |
23 |
node |
41.0173440 MB |
24 |
coffeescript |
43.2005120 MB |
25 |
deno |
46.3503360 MB |
26 |
erlang |
52.6376960 MB |
27 |
bun |
66.4739840 MB |
28 |
java |
82.1125120 MB |
29 |
kotlin |
85.7415680 MB |
30 |
crystal |
269.2136960 MB |
31 |
scala |
277.1517440 MB |
32 |
julia |
302.8500480 MB |
|
- 1: only includes compiled files (i.e., does not include runtimes or libraries required for execution)
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.16.01 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
node /usr/bin/coffee ./count.coffee 1000000000 |
CoffeeScript version 2.7.0 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.1 [0aa30372c] (2024-01-11) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 17:29:20 UTC 2022) |
deno |
deno run count.deno 1000000000 |
deno 1.39.4 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
sh /usr/bin/erl -noshell -s count start 1000000000 |
25.2.3 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
go |
./count 1000000000 |
go version go1.20.3 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 9.0.2 |
java |
java count 1000000000 |
javac 17.0.9 |
|
|
openjdk 17.0.9 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. |
|
|
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 17.0.9+9-Ubuntu-123.04) |
|
|
openjdk 17.0.9 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.11.0 ... |
Read more
174
Execution time |
Binary size1 |
Max Memory Usage |
# |
name |
mean |
1 |
c-gcc |
302.32173ms |
2 |
assembly |
309.59267ms |
3 |
zig |
309.64441ms |
4 |
pascal |
309.93519ms |
5 |
nim |
309.97615ms |
6 |
rust |
310.27520ms |
7 |
fortran |
310.66147ms |
8 |
go |
310.77611ms |
9 |
c-clang |
310.88446ms |
10 |
cpp-gcc |
311.14739ms |
11 |
cpp-clang |
311.29000ms |
12 |
bun |
324.49548ms |
13 |
node |
338.36515ms |
14 |
deno |
339.15630ms |
15 |
java |
339.22063ms |
16 |
kotlin |
346.47858ms |
17 |
coffeescript |
388.07457ms |
18 |
csharp |
480.99253ms |
19 |
scala |
705.79079ms |
20 |
crystal |
1.75403s |
21 |
erlang |
2.26975s |
22 |
php |
3.10483s |
23 |
forth |
4.36337s |
24 |
lua |
5.23374s |
25 |
ruby |
6.93918s |
26 |
haskell |
18.20486s |
27 |
cobol |
19.24139s |
28 |
perl |
29.68412s |
29 |
julia |
33.34206s |
30 |
python3 |
35.01285s |
31 |
smalltalk |
1.96666m |
32 |
prolog |
2.58212m |
|
binary:
# |
name |
size |
1 |
assembly |
249.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.1120000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6880000 kB |
8 |
nim |
153.4800000 kB |
9 |
prolog |
221.8180000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1786080 MB |
12 |
go |
1.8587210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
bytecode:
# |
name |
size |
1 |
java |
209.0000000 B |
2 |
erlang |
888.0000000 B |
3 |
scala |
1.5300000 kB |
4 |
csharp |
3.0720000 kB |
5 |
kotlin |
3.1305400 MB |
|
# |
name |
rss |
1 |
assembly |
12.2880000 kB |
2 |
zig |
192.5120000 kB |
3 |
pascal |
532.4800000 kB |
4 |
nim |
1.4909440 MB |
5 |
c-clang |
1.5974400 MB |
6 |
c-gcc |
1.6179200 MB |
7 |
rust |
2.0684800 MB |
8 |
fortran |
2.2609920 MB |
9 |
lua |
2.6050560 MB |
10 |
forth |
3.1907840 MB |
11 |
cpp-clang |
3.7191680 MB |
12 |
cpp-gcc |
3.7478400 MB |
13 |
haskell |
4.1164800 MB |
14 |
perl |
4.8537600 MB |
15 |
go |
7.0615040 MB |
16 |
cobol |
7.2540160 MB |
17 |
python3 |
7.8028800 MB |
18 |
smalltalk |
7.9380480 MB |
19 |
prolog |
9.6133120 MB |
20 |
php |
16.2938880 MB |
21 |
csharp |
17.9691520 MB |
22 |
ruby |
31.1255040 MB |
23 |
node |
41.0910720 MB |
24 |
coffeescript |
43.5650560 MB |
25 |
deno |
46.5264640 MB |
26 |
erlang |
53.1742720 MB |
27 |
bun |
78.6104320 MB |
28 |
java |
82.4852480 MB |
29 |
kotlin |
85.4999040 MB |
30 |
crystal |
269.2136960 MB |
31 |
scala |
277.9791360 MB |
32 |
julia |
302.1209600 MB |
|
- 1: only includes compiled files (i.e., does not include runtimes or libraries required for execution)
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.16.01 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
node /usr/bin/coffee ./count.coffee 1000000000 |
CoffeeScript version 2.7.0 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 15.0.7 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.1 [0aa30372c] (2024-01-11) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 17:29:20 UTC 2022) |
deno |
deno run count.deno 1000000000 |
deno 1.39.4 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
sh /usr/bin/erl -noshell -s count start 1000000000 |
25.2.3 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0 |
go |
./count 1000000000 |
go version go1.20.3 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 9.0.2 |
java |
java count 1000000000 |
javac 17.0.9 |
|
|
openjdk 17.0.9 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. |
|
|
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 17.0.9+9-Ubuntu-123.04) |
|
|
openjdk 17.0.9 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.11.0 ... |
Read more
157
Execution time |
Binary size1 |
Max Memory Usage2 |
# |
name |
mean |
1 |
assembly |
309.58504ms |
2 |
zig |
309.61564ms |
3 |
pascal |
309.87705ms |
4 |
nim |
310.11790ms |
5 |
c-gcc |
310.16386ms |
6 |
c-clang |
310.52916ms |
7 |
cpp-gcc |
310.96678ms |
8 |
cpp-clang |
311.08322ms |
9 |
rust |
311.20007ms |
10 |
fortran |
311.22371ms |
11 |
bun |
324.38864ms |
12 |
go |
325.23443ms |
13 |
node |
336.35555ms |
14 |
deno |
338.89873ms |
15 |
java |
351.81181ms |
16 |
kotlin |
362.43183ms |
17 |
coffeescript |
369.40607ms |
18 |
csharp |
483.13704ms |
19 |
scala |
742.98832ms |
20 |
crystal |
1.72158s |
21 |
erlang |
2.42085s |
22 |
php |
3.10880s |
23 |
lua |
4.54329s |
24 |
forth |
4.75703s |
25 |
ruby |
6.98558s |
26 |
haskell |
17.72661s |
27 |
cobol |
19.60373s |
28 |
perl |
30.85709s |
29 |
julia |
33.19372s |
30 |
python3 |
38.73893s |
31 |
smalltalk |
2.01979m |
32 |
prolog |
2.57054m |
|
binary:
# |
name |
size |
1 |
assembly |
253.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.0880000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6640000 kB |
8 |
nim |
149.3840000 kB |
9 |
prolog |
214.1470000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1097200 MB |
12 |
go |
1.7697210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
bytecode:
# |
name |
size |
1 |
java |
209.0000000 B |
2 |
erlang |
796.0000000 B |
3 |
scala |
1.5300000 kB |
4 |
csharp |
3.0720000 kB |
5 |
kotlin |
3.1315830 MB |
|
# |
name |
max_rss |
1 |
assembly |
262.1440000 kB |
2 |
zig |
262.1440000 kB |
3 |
pascal |
393.2160000 kB |
4 |
c-clang |
1.4417920 MB |
5 |
nim |
1.4417920 MB |
6 |
c-gcc |
1.5728640 MB |
7 |
rust |
1.9660800 MB |
8 |
lua |
2.4903680 MB |
9 |
fortran |
2.7525120 MB |
10 |
forth |
3.1457280 MB |
11 |
go |
3.2890880 MB |
12 |
cpp-gcc |
3.5389440 MB |
13 |
cpp-clang |
3.6700160 MB |
14 |
haskell |
4.0632320 MB |
15 |
perl |
4.8496640 MB |
16 |
cobol |
6.2914560 MB |
17 |
smalltalk |
7.8643200 MB |
18 |
python3 |
8.2575360 MB |
19 |
prolog |
10.4857600 MB |
20 |
php |
19.3044480 MB |
21 |
csharp |
22.7491840 MB |
22 |
ruby |
30.0154880 MB |
23 |
java |
40.7183360 MB |
24 |
kotlin |
42.1478400 MB |
25 |
node |
46.6862080 MB |
26 |
erlang |
50.2128640 MB |
27 |
coffeescript |
52.2485760 MB |
28 |
deno |
55.3082880 MB |
29 |
bun |
68.3253760 MB |
30 |
scala |
87.3062400 MB |
31 |
crystal |
260.1041920 MB |
32 |
julia |
296.0261120 MB |
|
- 1: only includes compiled files (i.e., does not include runtimes or libraries required for execution)
- 2: Getting the
max_rss
isn't 100% reliable for very small binary sizes. This appears to be a limitation of the linux kernel.
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.15.05 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
coffee ./count.coffee 1000000000 |
CoffeeScript version 1.12.8 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.0 [95d04fab4] (2024-01-08) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Wed Jun 30 05:34:49 UTC 2021) |
deno |
deno run count.deno 1000000000 |
deno 1.39.2 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
erl -noshell -s count start 1000000000 |
24.2.1 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
go |
./count 1000000000 |
go version go1.18.1 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 8.8.4 |
java |
java count 1000000000 |
javac 11.0.21 |
|
|
openjdk 11.0.21 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 11.0.21+9-post-Ubuntu-0ubuntu122.04) |
|
|
openjdk 11.0.21 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.11.0 |
pascal |
./count 1000000000 |
3.2.2+dfsg-9ubuntu1 |
perl |
perl ./count.pl 1000000000 |
This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi |
php |
php ./count.php 1000000000 |
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS) |
prolog |
./count 1000000000 |
SWI-Prolog version 8.4.2 for x86_64-linux |
python3 |
python3 count.py 1000000000 |
Python 3.10.12 |
ruby |
ruby count.rb 1000000000 |
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu] |
rust |
./count 1000000000 |
rustc 1.75.0 (82e1608df 2023-12-21) |
scala |
scala count 1000000000 |
Scala compiler version 2.11.12 -- Copyright 2002-2017, LAMP/EPFL |
|
|
Scala code runner version 2.11.12 -- Copyright 2002-2017, LAMP/EPFL |
smalltalk |
gst -f count.st 1000000000 |
GNU Smalltalk version 3.2.5 |
zig |
./count 1000000000 |
0.11.0 ... |
Read more
155
Execution time |
Binary size |
Max Memory Usage* |
# |
name |
mean |
1 |
zig |
309.40353ms |
2 |
assembly |
309.79096ms |
3 |
pascal |
310.09800ms |
4 |
nim |
310.11392ms |
5 |
c-clang |
310.31193ms |
6 |
c-gcc |
310.48372ms |
7 |
fortran |
310.73108ms |
8 |
cpp-clang |
310.77646ms |
9 |
rust |
310.79039ms |
10 |
cpp-gcc |
311.32963ms |
11 |
bun |
325.38440ms |
12 |
go |
325.92900ms |
13 |
deno |
338.74083ms |
14 |
node |
338.75438ms |
15 |
java |
353.78813ms |
16 |
kotlin |
361.32728ms |
17 |
coffeescript |
367.50875ms |
18 |
csharp |
482.23417ms |
19 |
scala |
754.79582ms |
20 |
crystal |
1.72630s |
21 |
erlang |
2.41428s |
22 |
php |
3.18863s |
23 |
forth |
3.80911s |
24 |
lua |
4.93262s |
25 |
ruby |
7.30812s |
26 |
haskell |
16.34791s |
27 |
cobol |
20.04360s |
28 |
perl |
30.33827s |
29 |
julia |
33.25132s |
30 |
python3 |
38.32426s |
31 |
smalltalk |
2.01075m |
32 |
prolog |
2.58332m |
|
# |
name |
size |
1 |
assembly |
253.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.0880000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6640000 kB |
8 |
nim |
149.3840000 kB |
9 |
prolog |
214.4240000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1097200 MB |
12 |
go |
1.7697210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
15 |
bun |
- |
16 |
coffeescript |
- |
17 |
crystal |
- |
18 |
csharp |
- |
19 |
deno |
- |
20 |
erlang |
- |
21 |
forth |
- |
22 |
java |
- |
23 |
julia |
- |
24 |
kotlin |
- |
25 |
lua |
- |
26 |
node |
- |
27 |
perl |
- |
28 |
php |
- |
29 |
python3 |
- |
30 |
ruby |
- |
31 |
scala |
- |
32 |
smalltalk |
- |
|
# |
name |
max_rss |
1 |
assembly |
262.1440000 kB |
2 |
zig |
262.1440000 kB |
3 |
pascal |
393.2160000 kB |
4 |
c-clang |
1.4417920 MB |
5 |
nim |
1.4417920 MB |
6 |
c-gcc |
1.5728640 MB |
7 |
rust |
1.9660800 MB |
8 |
fortran |
2.4903680 MB |
9 |
lua |
2.6214400 MB |
10 |
forth |
3.1457280 MB |
11 |
go |
3.2931840 MB |
12 |
cpp-clang |
3.5389440 MB |
13 |
cpp-gcc |
3.5389440 MB |
14 |
haskell |
3.9321600 MB |
15 |
perl |
4.8496640 MB |
16 |
cobol |
6.6846720 MB |
17 |
smalltalk |
7.9953920 MB |
18 |
python3 |
8.3886080 MB |
19 |
prolog |
10.4857600 MB |
20 |
php |
19.3085440 MB |
21 |
csharp |
24.9446400 MB |
22 |
ruby |
30.1465600 MB |
23 |
java |
40.1940480 MB |
24 |
kotlin |
44.3023360 MB |
25 |
node |
46.7025920 MB |
26 |
erlang |
51.3597440 MB |
27 |
coffeescript |
52.3714560 MB |
28 |
deno |
55.0502400 MB |
29 |
bun |
70.4552960 MB |
30 |
scala |
85.4220800 MB |
31 |
crystal |
259.9976960 MB |
32 |
julia |
295.7803520 MB |
|
*
: Getting the max_rss
isn't 100% reliable for very small binary sizes
this appears to be a limitation of the linux kernel.
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.15.05 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
coffee ./count.coffee 1000000000 |
CoffeeScript version 1.12.8 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.0 [95d04fab4] (2024-01-08) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Wed Jun 30 05:34:49 UTC 2021) |
deno |
deno run count.deno 1000000000 |
deno 1.39.2 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
erl -noshell -s count start 1000000000 |
24.2.1 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
go |
./count 1000000000 |
go version go1.18.1 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 8.8.4 |
java |
java count 1000000000 |
javac 11.0.21 |
|
|
openjdk 11.0.21 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 11.0.21+9-post-Ubuntu-0ubuntu122.04) |
|
|
openjdk 11.0.21 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.10.0 |
pascal |
./count 1000000000 |
3.2.2+dfsg-9ubuntu1 |
perl |
perl ./count.pl 1000000000 |
This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi |
php |
php ./count.php 1000000000 |
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS) |
prolog |
./count 1000000000 |
SWI-Prolog version 8.4.2 for x86_64-linux |
python3 |
python3 count.py 1000000000 |
Python 3.10.12 |
ruby |
ruby count.rb 1000000000 |
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu] |
rust |
./count 1000000000 |
rustc 1.75.0 (82e1608df 2023-12-21) |
scala |
scala count 1000000000 |
Scala compiler version 2.11.12 -- Copyright 2002-2017, LAMP/EPFL |
|
... |
|
Read more
154
Execution time |
Binary size |
Max Memory Usage* |
position |
name |
mean |
1 |
zig |
309.63853ms |
2 |
assembly |
309.86013ms |
3 |
nim |
310.04315ms |
4 |
c-gcc |
310.08205ms |
5 |
pascal |
310.10381ms |
6 |
rust |
310.38808ms |
7 |
c-clang |
310.41358ms |
8 |
fortran |
310.78377ms |
9 |
cpp-clang |
311.41803ms |
10 |
cpp-gcc |
311.51418ms |
11 |
go |
324.76864ms |
12 |
bun |
324.82977ms |
13 |
node |
338.15790ms |
14 |
deno |
339.71181ms |
15 |
java |
352.87501ms |
16 |
kotlin |
360.94844ms |
17 |
coffeescript |
367.68516ms |
18 |
csharp |
482.26792ms |
19 |
scala |
741.64029ms |
20 |
crystal |
1.73869s |
21 |
erlang |
2.41615s |
22 |
php |
3.18788s |
23 |
forth |
4.45225s |
24 |
lua |
4.59334s |
25 |
ruby |
8.70901s |
26 |
haskell |
16.31933s |
27 |
cobol |
19.40795s |
28 |
perl |
30.31694s |
29 |
julia |
33.35947s |
30 |
python3 |
39.30014s |
31 |
smalltalk |
2.01200m |
32 |
prolog |
2.57604m |
|
position |
name |
size |
1 |
assembly |
253.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.0880000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6640000 kB |
8 |
nim |
149.3840000 kB |
9 |
prolog |
214.4260000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1097200 MB |
12 |
go |
1.7697210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
15 |
bun |
- |
16 |
coffeescript |
- |
17 |
crystal |
- |
18 |
csharp |
- |
19 |
deno |
- |
20 |
erlang |
- |
21 |
forth |
- |
22 |
java |
- |
23 |
julia |
- |
24 |
kotlin |
- |
25 |
lua |
- |
26 |
node |
- |
27 |
perl |
- |
28 |
php |
- |
29 |
python3 |
- |
30 |
ruby |
- |
31 |
scala |
- |
32 |
smalltalk |
- |
|
# |
name |
max_rss |
1 |
assembly |
262.1440000 kB |
2 |
zig |
262.1440000 kB |
3 |
pascal |
393.2160000 kB |
4 |
c-clang |
1.4417920 MB |
5 |
c-gcc |
1.4417920 MB |
6 |
nim |
1.4417920 MB |
7 |
rust |
1.8350080 MB |
8 |
fortran |
2.6214400 MB |
9 |
lua |
2.6214400 MB |
10 |
forth |
3.1457280 MB |
11 |
go |
3.2890880 MB |
12 |
cpp-clang |
3.6700160 MB |
13 |
cpp-gcc |
3.6700160 MB |
14 |
haskell |
3.8010880 MB |
15 |
perl |
4.7185920 MB |
16 |
cobol |
6.4225280 MB |
17 |
smalltalk |
7.8643200 MB |
18 |
python3 |
8.2575360 MB |
19 |
prolog |
10.4857600 MB |
20 |
php |
19.3044480 MB |
21 |
csharp |
22.7491840 MB |
22 |
ruby |
30.0154880 MB |
23 |
java |
40.5872640 MB |
24 |
kotlin |
44.0401920 MB |
25 |
node |
46.6944000 MB |
26 |
erlang |
49.9752960 MB |
27 |
coffeescript |
52.6336000 MB |
28 |
deno |
55.0502400 MB |
29 |
bun |
66.3429120 MB |
30 |
scala |
88.1131520 MB |
31 |
crystal |
258.6460160 MB |
32 |
julia |
294.8587520 MB |
|
*
: Getting the max_rss
isn't 100% reliable for very small binary sizes
this appears to be a limitation of the linux kernel.
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.15.05 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
coffee ./count.coffee 1000000000 |
CoffeeScript version 1.12.8 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.0 [95d04fab4] (2024-01-08) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Wed Jun 30 05:34:49 UTC 2021) |
deno |
deno run count.deno 1000000000 |
deno 1.39.2 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
erl -noshell -s count start 1000000000 |
24.2.1 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
go |
./count 1000000000 |
go version go1.18.1 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 8.8.4 |
java |
java count 1000000000 |
javac 11.0.21 |
|
|
openjdk 11.0.21 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 11.0.21+9-post-Ubuntu-0ubuntu122.04) |
|
|
openjdk 11.0.21 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.10.0 |
pascal |
./count 1000000000 |
3.2.2+dfsg-9ubuntu1 |
perl |
perl ./count.pl 1000000000 |
This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi |
php |
php ./count.php 1000000000 |
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS) |
prolog |
./count 1000000000 |
SWI-Prolog version 8.4.2 for x86_64-linux |
python3 |
python3 count.py 1000000000 |
Python 3.10.12 |
ruby |
ruby count.rb 1000000000 |
ruby 3.0.2p107 (2021-07-07 revisi... |
Read more
152
Execution time |
Binary size |
Max Memory Usage* |
position |
name |
mean |
1 |
cpp-clang |
307.49149ms |
2 |
zig |
309.85705ms |
3 |
c-gcc |
310.02220ms |
4 |
assembly |
310.10336ms |
5 |
c-clang |
310.16546ms |
6 |
nim |
310.26984ms |
7 |
fortran |
310.32116ms |
8 |
pascal |
310.51487ms |
9 |
rust |
311.05539ms |
10 |
cpp-gcc |
311.11264ms |
11 |
bun |
324.65129ms |
12 |
go |
332.13069ms |
13 |
node |
337.75291ms |
14 |
deno |
338.18119ms |
15 |
java |
353.60045ms |
16 |
kotlin |
363.67545ms |
17 |
coffeescript |
370.59984ms |
18 |
csharp |
486.93182ms |
19 |
scala |
747.98745ms |
20 |
crystal |
1.76511s |
21 |
erlang |
2.42393s |
22 |
php |
3.20091s |
23 |
lua |
4.65146s |
24 |
forth |
4.80387s |
25 |
ruby |
7.13492s |
26 |
haskell |
17.21713s |
27 |
cobol |
19.39732s |
28 |
perl |
30.58592s |
29 |
julia |
33.23236s |
30 |
python3 |
39.94979s |
31 |
smalltalk |
2.02180m |
32 |
prolog |
2.57971m |
|
position |
name |
size |
1 |
assembly |
253.0000000 B |
2 |
cobol |
14.7360000 kB |
3 |
c-gcc |
16.0080000 kB |
4 |
c-clang |
16.0880000 kB |
5 |
fortran |
16.4320000 kB |
6 |
cpp-gcc |
16.5360000 kB |
7 |
cpp-clang |
16.6640000 kB |
8 |
nim |
149.3840000 kB |
9 |
prolog |
214.4240000 kB |
10 |
pascal |
513.8880000 kB |
11 |
haskell |
1.1097200 MB |
12 |
go |
1.7697210 MB |
13 |
zig |
1.9296480 MB |
14 |
rust |
4.4173840 MB |
15 |
bun |
- |
16 |
coffeescript |
- |
17 |
crystal |
- |
18 |
csharp |
- |
19 |
deno |
- |
20 |
erlang |
- |
21 |
forth |
- |
22 |
java |
- |
23 |
julia |
- |
24 |
kotlin |
- |
25 |
lua |
- |
26 |
node |
- |
27 |
perl |
- |
28 |
php |
- |
29 |
python3 |
- |
30 |
ruby |
- |
31 |
scala |
- |
32 |
smalltalk |
- |
|
position |
name |
max_rss |
1 |
assembly |
262.1440000 kB |
2 |
zig |
262.1440000 kB |
3 |
pascal |
393.2160000 kB |
4 |
nim |
1.4417920 MB |
5 |
c-clang |
1.5728640 MB |
6 |
c-gcc |
1.5728640 MB |
7 |
rust |
1.8350080 MB |
8 |
lua |
2.4903680 MB |
9 |
fortran |
2.7525120 MB |
10 |
forth |
3.1457280 MB |
11 |
go |
3.2931840 MB |
12 |
cpp-clang |
3.5389440 MB |
13 |
cpp-gcc |
3.5389440 MB |
14 |
haskell |
4.0632320 MB |
15 |
perl |
4.8496640 MB |
16 |
cobol |
6.2914560 MB |
17 |
smalltalk |
7.7332480 MB |
18 |
python3 |
8.1264640 MB |
19 |
prolog |
10.3546880 MB |
20 |
php |
19.3044480 MB |
21 |
csharp |
22.7491840 MB |
22 |
ruby |
30.1465600 MB |
23 |
java |
40.5872640 MB |
24 |
kotlin |
42.6721280 MB |
25 |
node |
46.8049920 MB |
26 |
erlang |
49.7295360 MB |
27 |
coffeescript |
52.3714560 MB |
28 |
deno |
57.7945600 MB |
29 |
bun |
70.0088320 MB |
30 |
scala |
87.4209280 MB |
31 |
crystal |
258.7729920 MB |
32 |
julia |
296.2350080 MB |
|
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.15.05 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./count 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
c-gcc |
./count 1000000000 |
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
coffee ./count.coffee 1000000000 |
CoffeeScript version 1.12.8 |
cpp-clang |
./count 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
cpp-gcc |
./count 1000000000 |
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.0 [95d04fab4] (2024-01-08) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Wed Jun 30 05:34:49 UTC 2021) |
deno |
deno run count.deno 1000000000 |
deno 1.39.2 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
erl -noshell -s count start 1000000000 |
24.2.1 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./count 1000000000 |
GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
go |
./count 1000000000 |
go version go1.18.1 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 8.8.4 |
java |
java count 1000000000 |
javac 11.0.21 |
|
|
openjdk 11.0.21 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 11.0.21+9-post-Ubuntu-0ubuntu122.04) |
|
|
openjdk 11.0.21 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.10.0 |
pascal |
./count 1000000000 |
3.2.2+dfsg-9ubuntu1 |
perl |
perl ./count.pl 1000000000 |
This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi |
php |
php ./count.php 1000000000 |
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS) |
prolog |
./count 1000000000 |
SWI-Prolog version 8.4.2 for x86_64-linux |
python3 |
python3 count.py 1000000000 |
Python 3.10.12 |
ruby |
ruby count.rb 1000000000 |
ruby 3.0.2p107 (2021-07-07 rev... |
Read more
150
Execution time |
Max Memory Usage |
position |
name |
mean |
1 |
zig |
309.70479ms |
2 |
assembly |
309.74605ms |
3 |
pascal |
309.76133ms |
4 |
c-clang |
310.49202ms |
5 |
fortran |
310.80985ms |
6 |
nim |
310.81851ms |
7 |
cpp-clang |
310.92739ms |
8 |
rust |
310.93083ms |
9 |
cpp-gcc |
311.11209ms |
10 |
c-gcc |
312.86528ms |
11 |
bun |
324.75036ms |
12 |
go |
325.07455ms |
13 |
node |
337.85958ms |
14 |
deno |
338.34977ms |
15 |
java |
351.53006ms |
16 |
kotlin |
361.11556ms |
17 |
coffeescript |
368.46315ms |
18 |
csharp |
482.58627ms |
19 |
scala |
738.56610ms |
20 |
crystal |
1.71601s |
21 |
erlang |
2.41892s |
22 |
php |
3.18541s |
23 |
forth |
3.42673s |
24 |
lua |
4.48433s |
25 |
ruby |
7.97970s |
26 |
haskell |
16.79329s |
27 |
cobol |
19.43032s |
28 |
perl |
31.33018s |
29 |
julia |
33.22706s |
30 |
python3 |
39.29622s |
31 |
smalltalk |
2.00770m |
32 |
prolog |
2.57563m |
|
position |
name |
max_rss |
1 |
assembly |
262.1440000 kB |
2 |
zig |
262.1440000 kB |
3 |
pascal |
393.2160000 kB |
4 |
c-clang |
1.4417920 MB |
5 |
nim |
1.4417920 MB |
6 |
c-gcc |
1.5728640 MB |
7 |
rust |
1.9660800 MB |
8 |
fortran |
2.6214400 MB |
9 |
lua |
2.6214400 MB |
10 |
forth |
3.0146560 MB |
11 |
cpp-clang |
3.5389440 MB |
12 |
cpp-gcc |
3.5389440 MB |
13 |
haskell |
4.0632320 MB |
14 |
perl |
4.7185920 MB |
15 |
go |
5.3862400 MB |
16 |
cobol |
6.4225280 MB |
17 |
smalltalk |
7.8643200 MB |
18 |
python3 |
8.1264640 MB |
19 |
prolog |
10.4857600 MB |
20 |
php |
19.4355200 MB |
21 |
csharp |
24.8176640 MB |
22 |
ruby |
30.0154880 MB |
23 |
java |
40.3251200 MB |
24 |
kotlin |
42.5410560 MB |
25 |
node |
46.8336640 MB |
26 |
erlang |
49.7664000 MB |
27 |
coffeescript |
52.5066240 MB |
28 |
deno |
57.2661760 MB |
29 |
bun |
66.1504000 MB |
30 |
scala |
86.5075200 MB |
31 |
crystal |
258.4698880 MB |
32 |
julia |
295.9073280 MB |
|
name |
command |
version |
assembly |
./count 1000000000 |
NASM version 2.15.05 |
bun |
bun run count.js 1000000000 |
1.0.22 |
c-clang |
./a.out 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
c-gcc |
./a.out 1000000000 |
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
cobol |
./count 1000000000 |
cobc (GnuCOBOL) 3.1.2.0 |
coffeescript |
coffee ./count.coffee 1000000000 |
CoffeeScript version 1.12.8 |
cpp-clang |
./a.out 1000000000 |
Ubuntu clang version 14.0.0-1ubuntu1.1 |
cpp-gcc |
./a.out 1000000000 |
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
crystal |
crystal run ./count.cr -- 1000000000 |
Crystal 1.11.0 [95d04fab4] (2024-01-08) LLVM: 15.0.7 Default target: x86_64-unknown-linux-gnu |
csharp |
mono ./count.exe 1000000000 |
Mono C# compiler version 6.8.0.105 |
|
|
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Wed Jun 30 05:34:49 UTC 2021) |
deno |
deno run count.deno 1000000000 |
deno 1.39.2 (release, x86_64-unknown-linux-gnu) v8 12.0.267.8 typescript 5.3.3 |
erlang |
erl -noshell -s count start 1000000000 |
24.2.1 |
forth |
gforth ./count.fth 1000000000 |
gforth 0.7.3 |
fortran |
./a.out 1000000000 |
GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
go |
./count 1000000000 |
go version go1.18.1 linux/amd64 |
haskell |
./count 1000000000 |
The Glorious Glasgow Haskell Compilation System, version 8.8.4 |
java |
java count 1000000000 |
javac 11.0.21 |
|
|
openjdk 11.0.21 2023-10-17 |
julia |
julia ./count.jl 1000000000 |
julia version 1.10.0 |
kotlin |
java -jar count.jar 1000000000 |
info: kotlinc-jvm 1.3-SNAPSHOT (JRE 11.0.21+9-post-Ubuntu-0ubuntu122.04) |
|
|
openjdk 11.0.21 2023-10-17 |
lua |
lua ./count.lua 1000000000 |
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio |
nim |
./count 1000000000 |
Nim Compiler Version 2.0.2 [Linux: amd64] |
node |
node count.js 1000000000 |
v20.10.0 |
pascal |
./count 1000000000 |
3.2.2+dfsg-9ubuntu1 |
perl |
perl ./count.pl 1000000000 |
This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi |
php |
php ./count.php 1000000000 |
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS) |
prolog |
./count 1000000000 |
SWI-Prolog version 8.4.2 for x86_64-linux |
python3 |
python3 count.py 1000000000 |
Python 3.10.12 |
ruby |
ruby count.rb 1000000000 |
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu] |
rust |
./count 1000000000 |
rustc 1.75.0 (82e1608df 2023-12-21) |
scala |
scala count 1000000000 |
Scala compiler version 2.11.12 -- Copyright 2002-2017, LAMP/EPFL |
|
|
Scala code runner version 2.11.12 -- Copyright 2002-2017, LAMP/EPFL |
smalltalk |
gst -f count.st 1000000000 |
GNU Smalltalk version 3.2.5 |
zig |
./count 1000000000 |
0.11.0 |