binary-trees-redux benchmark N=20

Each chart bar shows how many times more Code, one ↓ binary-trees-redux program used, compared to the program that used least Code.

These are not the only programs that could be written. These are not the only compilers and interpreters. These are not the only programming languages.

Column × shows how many times more each program used compared to the benchmark program that used least.

    sortsortsort 
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0Scala #4 257.6475.90135,968498  89% 81% 81% 89%
1.0Haskell GHC 24.9825.0271,980521  100% 1% 1% 0%
1.2Java  #2 253.4073.87134,328607  90% 83% 82% 89%
1.3Lisp SBCL #2 20.6720.70181,248649  98% 0% 3% 1%
1.3Clojure 57.8425.90224,676661  47% 73% 61% 44%
1.4Clojure #6 109.9046.04224,596709  50% 71% 61% 59%
Ruby JRuby Failed412
missing benchmark programs
Ada 2005 GNAT No program
C gcc No program
C# Mono No program
C++ g++ No program
Dart No program
Erlang HiPE No program
F# Mono No program
Fortran Intel No program
Go No program
OCaml No program
Pascal Free Pascal No program
Perl No program
PHP No program
Python 3 No program
Racket No program
Ruby No program
Rust No program

 binary-trees-redux benchmark : Allocate and deallocate many many binary trees

You can write your own program for this task and contribute to the benchmarks game by following these general instructions.

More specifically:

The binary-trees-redux benchmark is another simplistic adaptation of Hans Boehm's GCBench, which in turn was adapted from a benchmark by John Ellis and Pete Kovac.

Heap size has been limited for each program, to 8KB more than that program needs to complete the task.

Revised BSD license

  Home   Conclusions   License   Play