The Computer Language
Benchmarks Game

chameneos-redux

program source code, command-line and measurements

× source code secs KB gz cpu cpu load
1.0 C gcc #5 0.57 880 2863 2.24 98% 100% 98% 100%
2.0 Lisp SBCL #3 1.12 53,272 2907 4.21 90% 98% 98% 90%
3.4 Rust #2 1.92 49,380 2882 7.43 97% 97% 97% 97%
5.5 C++ g++ #2 3.12 1,824 2016 11.04 94% 61% 100% 100%
5.6 C++ g++ #5 3.21 3,276 1994 12.29 92% 92% 100% 100%
5.9 Java  3.38 45,872 1770 3.70 28% 29% 26% 27%
7.9 Haskell GHC 4.49 8,896 989 8.03 77% 100% 2% 1%
8.3 Java  #4 4.76 37,272 1607 16.68 96% 60% 99% 97%
9.2 Haskell GHC #4 5.25 8,812 989 10.54 100% 99% 1% 2%
14 Java  #2 7.98 65,008 1429 18.99 62% 59% 61% 57%
14 Java  #3 8.16 161,196 1267 27.46 89% 91% 95% 64%
15 Scala #2 8.61 165,520 1171 20.40 59% 55% 60% 64%
17 Go #5 9.43 1,948 957 26.08 70% 70% 69% 69%
19 C gcc #2 11.10 832 1663 36.38 93% 93% 75% 73%
20 Ada 2005 GNAT #5 11.60 4,176 2906 36.12 78% 78% 77% 80%
20 C# Mono 11.65 50,348 1400 24.54 50% 56% 52% 53%
78 Smalltalk VW #2 44.38 53,496 2515 44.36 1% 0% 1% 100%
83 Erlang HiPE 47.39 37,080 734 99.72 55% 52% 51% 53%
86 Erlang 48.93 32,996 734 107.06 59% 54% 52% 54%
87 Ruby JRuby 49.36 663,448 928 110.48 61% 54% 51% 57%
191 Rust 108.75 47,424 1450 227.72 54% 61% 56% 57%
197 Clojure 112.15 414,020 1331 123.83 29% 26% 26% 28%
199 Ruby 113.31 9,600 920 176.43 30% 41% 40% 30%
275 OCaml 156.97 6,376 1279 252.95 41% 35% 35% 41%
301 Racket #2 171.53 115,052 842 171.47 88% 3% 1% 10%
521 Python 3 #2 296.78 8,284 866 8 min 41% 38% 38% 39%
537 Racket 5 min 111,996 791 5 min 100% 1% 1% 0%
738 Perl #4 7 min 12,036 785 10 min 36% 35% 34% 36%
  OCaml #3 11 min 7,112 1146 16 min 36% 37% 35% 36%
Ada 2005 GNAT #2 Make Error
C++ g++ Make Error
Scala Failed