Skip to content

186

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jan 11:04
· 14 commits to master since this release
Execution time Binary size1 Max Memory Usage
# name mean
1 zig 309.64438ms
2 assembly 309.66467ms
3 c-clang 309.97667ms
4 nim 310.10733ms
5 rust 310.11236ms
6 c-gcc 310.11538ms
7 pascal 310.13272ms
8 vala 310.23812ms
9 go 311.15538ms
10 cpp-gcc 311.17087ms
11 cpp-clang 311.17573ms
12 fortran 313.00195ms
13 bun 325.06087ms
14 node 336.73281ms
15 deno 339.82085ms
16 java 340.47283ms
17 kotlin 349.65128ms
18 coffeescript 392.74245ms
19 csharp 481.95025ms
20 scala 691.73876ms
21 crystal 1.77671s
22 erlang 2.27169s
23 php 3.10783s
24 forth 4.46679s
25 lua 5.14212s
26 ocaml 5.97724s
27 ruby 7.15342s
28 haskell 18.06966s
29 cobol 19.40694s
30 perl 29.72147s
31 julia 33.12515s
32 python3 34.35707s
33 smalltalk 1.97147m
34 prolog 2.54389m

binary:

# name size
1 assembly 249.0000000 B
2 cobol 14.7360000 kB
3 c-gcc 16.0080000 kB
4 vala 16.0640000 kB
5 c-clang 16.1120000 kB
6 fortran 16.4320000 kB
7 cpp-gcc 16.5360000 kB
8 cpp-clang 16.6880000 kB
9 nim 153.4800000 kB
10 prolog 221.8160000 kB
11 pascal 513.8880000 kB
12 haskell 1.1786080 MB
13 go 1.8587210 MB
14 zig 1.9296480 MB
15 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.5646720 MB
5 nim 1.5728640 MB
6 vala 1.5892480 MB
7 c-gcc 1.6015360 MB
8 rust 2.0725760 MB
9 fortran 2.3142400 MB
10 lua 2.6050560 MB
11 forth 3.1989760 MB
12 cpp-gcc 3.8666240 MB
13 cpp-clang 3.8748160 MB
14 haskell 3.9649280 MB
15 perl 4.8373760 MB
16 go 7.0615040 MB
17 cobol 7.3482240 MB
18 python3 7.7209600 MB
19 smalltalk 8.0691200 MB
20 prolog 9.7771520 MB
21 ocaml 10.2686720 MB
22 php 16.2529280 MB
23 csharp 19.6157440 MB
24 ruby 31.1214080 MB
25 node 41.0910720 MB
26 coffeescript 43.4995200 MB
27 deno 47.0097920 MB
28 erlang 52.7728640 MB
29 bun 76.8286720 MB
30 java 82.5671680 MB
31 kotlin 85.4466560 MB
32 scala 189.6816640 MB
33 crystal 269.7584640 MB
34 julia 302.6739200 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.23
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
ocaml ocaml ./count.ml 1000000000 The OCaml toplevel, version 4.13.1
pascal ./count 1000000000 3.2.2+dfsg-18ubuntu1
perl perl ./count.pl 1000000000 This is perl 5, version 36, subversion 0 (v5.36.0) built for x86_64-linux-gnu-thread-multi
php php ./count.php 1000000000 PHP 8.1.12-1ubuntu4.3 (cli) (built: Aug 17 2023 17:37:48) (NTS)
prolog sh ./count 1000000000 SWI-Prolog version 9.0.4 for x86_64-linux
python3 python3 count.py 1000000000 Python 3.11.4
ruby ruby count.rb 1000000000 ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux-gnu]
rust ./count 1000000000 rustc 1.75.0 (82e1608df 2023-12-21)
scala bash /usr/bin/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
vala ./count 1000000000 Vala 0.56.7
zig ./count 1000000000 0.11.0