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 20.7220.75181,248649  1% 0% 1% 100%
1.2Haskell GHC 25.6225.6675,132521  0% 1% 0% 100%
2.5Clojure 51.3951.44224,780661  1% 0% 1% 100%
5.0Clojure #6 103.10103.19223,528709  1% 1% 1% 100%
12Java  #2 247.49247.66134,348607  1% 1% 0% 100%
12Ruby JRuby 250.46250.71879,960412  1% 1% 1% 100%
12Scala #4 252.95253.11136,000498  1% 0% 0% 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