"What gets us into trouble is not what we don't know, it's what we know for sure that just ain't so."

 Code-used Time-used Shapes [26 Nov 2014 u32]

From more-concise at page left to less-concise at the right, from slower at page top to faster at the bottom.

These scatter plots show the fastest programs contributed for each programming language implementation, measured on this computer -- so they don't show ↓ slower more-concise programs that still seem relatively fast.

These are not the only programs that could be written. These are not the only programming languages. These are not the only compilers and interpreters. These are not the only tasks that could be solved. These are just 10 tiny examples.

 source code size versus speed of Python 3 benchmark programs      
 source code size versus speed of Lua benchmark programs source code size versus speed of PHP benchmark programs    
 source code size versus speed of Ruby JRuby benchmark programs      
 source code size versus speed of Perl benchmark programs      
 source code size versus speed of Ruby benchmark programs source code size versus speed of Smalltalk VisualWorks benchmark programs    
   source code size versus speed of JavaScript V8 benchmark programs source code size versus speed of Erlang HiPE benchmark programs  
   source code size versus speed of OCaml benchmark programs source code size versus speed of Racket benchmark programs source code size versus speed of Clojure benchmark programs
   source code size versus speed of Dart benchmark programs source code size versus speed of Go benchmark programs source code size versus speed of Lisp SBCL benchmark programs
     source code size versus speed of Pascal Free Pascal benchmark programs  
   source code size versus speed of C# Mono benchmark programs source code size versus speed of F# Mono benchmark programs source code size versus speed of Haskell GHC benchmark programs
   Shortest C++ programs source code size versus speed of Scala benchmark programs  
     source code size versus speed of Fortran Intel benchmark programs source code size versus speed of Java benchmark programs
       source code size versus speed of Rust benchmark programs
       source code size versus speed of Ada 2005 GNAT benchmark programs
     source code size versus speed of C gcc benchmark programs source code size versus speed of C++ g++ benchmark programs

 about Code-used Time-used Shapes

There are other ways to analyse and present this data: ask Which programs are fastest? or take the Summary Data and do your own analysis!

Thanks to Guillaume Marceau for demonstrating there was interest in this kind of presentation.

Revised BSD license

  Home   Conclusions   License   Play