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 1,560 2863 2.23 98% 100% 100% 98%
1.9 Lisp SBCL #3 1.10 53,848 2907 4.05 100% 85% 86% 99%
3.7 Rust #2 2.08 16,660 2882 8.11 98% 98% 98% 97%
5.3 C++ g++ #2 3.03 1,808 2016 9.99 100% 100% 81% 87%
5.9 Java  3.38 45,872 1770 3.70 28% 29% 26% 27%
6.0 C++ g++ #5 3.43 3,344 1994 13.28 100% 100% 94% 94%
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%
10 C gcc #2 5.78 872 1663 12.32 58% 45% 57% 55%
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.48 1,740 957 26.71 72% 70% 70% 72%
20 C# Mono 11.65 50,348 1400 24.54 50% 56% 52% 53%
23 Ada 2005 GNAT #5 13.11 4,180 2906 45.81 88% 90% 91% 94%
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%
194 Rust 110.75 43,432 1450 234.68 58% 71% 43% 44%
199 Ruby 113.31 9,600 920 176.43 30% 41% 40% 30%
203 Clojure 115.67 417,376 1740 128.76 29% 24% 25% 30%
298 Racket #2 169.60 111,892 842 169.56 49% 51% 0% 1%
429 OCaml 244.64 5,328 1279 6 min 41% 33% 33% 41%
521 Python 3 #2 296.78 8,284 866 8 min 41% 38% 38% 39%
535 Racket 5 min 113,864 791 5 min 1% 4% 4% 93%
738 Perl #4 7 min 12,036 785 10 min 36% 35% 34% 36%
  OCaml #3 12 min 5,936 1146 19 min 35% 35% 35% 35%
Ada 2005 GNAT #2 Make Error
C++ g++ Make Error
Scala Failed