Fortran Go Java JavaScript Julia Lua Mathematica Matlab Octave Python R mandel parse_int pi_sum printfd quicksort rand_mat_mul rand_mat_stat benchmark 10-1 100 101 102 103 104

Figure: benchmark times relative to C (smaller is better, C performance = 1.0).

C compiled by gcc 4.8.1, taking best timing from all optimization levels (-O0 through -O3). C, Fortran and Julia use OpenBLAS v0.2.8. The Python implementations of rand_mat_stat and rand_mat_mul use NumPy (v1.6.1) functions; the rest are pure Python implementations. Plot created with Gadfly and IJulia from this notebook.