/mobile Handheld Friendly website

 binary-trees-redux benchmark N=20

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

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.

    sortsort sort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0Haskell GHC 25.6225.6675,132521  0% 1% 0% 100%
1.8Java  #2 247.49247.66134,348607  1% 1% 0% 100%
1.8Scala #4 252.95253.11136,000498  1% 0% 0% 100%
2.1Lisp SBCL #2 21.7821.81157,880649  0% 0% 1% 100%
3.0Clojure #6 103.10103.19223,528709  1% 1% 1% 100%
3.0Clojure 51.3951.44224,780661  1% 0% 1% 100%
12Ruby JRuby 250.46250.71879,960412  1% 1% 1% 100%
missing benchmark programs
Ada 2005 GNAT No program
C CINT 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
JavaScript V8 No program
Lua 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
Smalltalk VisualWorks 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