The Computer Language
Benchmarks Game

chameneos-redux

program source code, command-line and measurements

× source secs KB gz cpu cpu load
1.0 C gcc #5 0.59 780 2863 2.26 100% 97% 97% 98%
1.9 Lisp SBCL #3 1.12 53,272 2907 4.21 90% 98% 98% 90%
3.4 Rust #2 2.00 55,004 2882 7.81 98% 98% 97% 99%
5.6 C++ g++ #5 3.26 3,292 1994 12.62 100% 100% 94% 94%
5.6 C++ g++ #2 3.29 1,860 2016 11.55 100% 100% 100% 52%
6.9 Java  4.01 43,152 1770 4.89 28% 39% 27% 29%
8.1 Haskell GHC 4.76 6,840 989 8.51 78% 100% 1% 2%
8.1 Java #4 4.76 38,356 1607 16.44 97% 55% 97% 98%
8.2 Chapel 4.79 44,480 1199 19.02 100% 100% 100% 100%
9.4 Haskell GHC #4 5.51 7,564 989 11.06 100% 100% 2% 1%
13 C# .NET Core 7.58 34,132 1400 26.64 76% 98% 81% 98%
13 Java #3 7.84 106,532 1267 26.32 98% 88% 74% 77%
15 Scala #2 8.61 165,520 1171 20.40 59% 55% 60% 64%
18 Go #5 10.70 1,376 957 34.06 82% 79% 78% 81%
20 C gcc #2 11.42 876 1663 36.97 93% 79% 76% 83%
20 Ada 2005 GNAT #5 11.60 4,176 2906 36.12 78% 78% 77% 80%
21 Java #2 12.30 51,336 1429 36.88 78% 83% 74% 70%
30 C# Mono LLVM 17.38 49,880 1400 47.51 74% 64% 72% 67%
67 Ruby JRuby 39.33 606,188 928 89.10 58% 64% 48% 59%
82 Smalltalk VW #2 48.13 54,736 2515 48.07 1% 0% 100% 1%
101 Erlang 58.90 28,668 734 131.19 62% 60% 51% 53%
102 Erlang HiPE 59.39 25,784 734 131.58 60% 56% 56% 54%
167 Rust 97.67 34,616 1450 202.95 39% 65% 67% 44%
192 Clojure 112.15 414,020 1331 123.83 29% 26% 26% 28%
194 Ruby 113.31 9,600 920 176.43 30% 41% 40% 30%
268 OCaml 156.97 6,376 1279 252.95 41% 35% 35% 41%
320 Racket #2 187.02 108,764 842 186.96 1% 11% 1% 89%
507 Python 3 #2 296.78 8,284 866 8 min 41% 38% 38% 39%
551 Racket 5 min 109,848 791 5 min 1% 6% 86% 9%
555 Perl #4 5 min 14,084 785 7 min 40% 40% 29% 28%
  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