/mobile Handheld Friendly website

 binary-trees-redux benchmark N=20

Each chart bar shows how many times slower, one ↓ binary-trees-redux program was, compared to the fastest program.

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.0Lisp SBCL #2 30.2830.34402,852649  0% 0% 100% 0%
1.1Haskell GHC 34.2134.27259,516521  0% 100% 0% 0%
3.2Scala #4 95.7333.12159,368498  73% 64% 64% 88%
3.2Java 7  #2 96.6232.93154,928607  66% 85% 78% 65%
3.4Clojure 104.2738.10240,608661  62% 91% 63% 59%
3.9Clojure #6 119.5043.17229,880709  61% 73% 84% 60%
20Ruby JRuby 10 min228.561,167,472412  75% 72% 61% 60%
missing benchmark programs
Ada 2005 GNAT No program
ATS No program
C gcc No program
C# Mono No program
C++ g++ No program
Dart No program
Erlang 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 2.0 No program

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

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