Benchmark Results

call_bm

Test4.5.3
BEAM
4.6.4
BEAM
4.7.3.3
BEAM
4.8.2
JAM
4.8.2.7
BEAM
4.9.1
BEAM
local_call1.81 1.75 1.02 4.64 1.04 1.00
external_call15.72 2.13 1.23 5.17 1.13 1.19
fun_call13.34 12.83 10.68 27.57 9.68 3.13
apply_fun12.49 12.19 10.04 27.51 10.58 4.17
apply_mfa19.58 17.92 10.57 15.23 9.81 7.42

Source for call_bm.erl

call_tail_bm

Test4.5.3
BEAM
4.6.4
BEAM
4.7.3.3
BEAM
4.8.2
JAM
4.8.2.7
BEAM
4.9.1
BEAM
local_tail_call1.57 1.49 0.93 5.05 1.05 1.00
external_tail_call11.45 2.20 1.41 5.20 1.44 1.11

Source for call_tail_bm.erl

fun_bm

Test4.5.3
BEAM
4.6.4
BEAM
4.7.3.3
BEAM
4.8.2
JAM
4.8.2.7
BEAM
4.9.1
BEAM
no_args4.65 4.11 3.37 9.11 2.87 1.00
one_free4.84 4.62 3.93 10.06 3.26 1.38
one_arg5.95 5.61 4.43 11.83 3.27 1.44
two_free6.32 5.61 4.09 10.20 3.35 1.55
two_args7.74 7.70 5.09 14.10 3.44 1.59
make_fun0.95 1.23 1.77 6.35 2.06 8.79

Source for fun_bm.erl

lc_bm

Test4.5.3
BEAM
4.6.4
BEAM
4.7.3.3
BEAM
4.8.2
JAM
4.8.2.7
BEAM
4.9.1
BEAM
ident_nolc0.97 0.93 0.87 2.67 0.90 1.00
ident_lc6.90 6.47 5.37 11.23 3.23 1.60
filter_nolc6.80 2.07 1.97 3.77 1.77 1.60
filter_lc7.77 7.83 6.87 12.37 4.53 5.70

Source for lc_bm.erl

lists_bm

Test4.5.3
BEAM
4.6.4
BEAM
4.7.3.3
BEAM
4.8.2
JAM
4.8.2.7
BEAM
4.9.1
BEAM
last1.06 1.54 1.61 7.06 1.71 1.00

Source for lists_bm.erl

ref_bm

Test4.5.3
BEAM
4.6.4
BEAM
4.7.3.3
BEAM
4.8.2
JAM
4.8.2.7
BEAM
4.9.1
BEAM
make_ref0.34 0.31 0.18 0.74 0.15 1.00

Source for ref_bm.erl

sort_bm

Test4.5.3
BEAM
4.6.4
BEAM
4.7.3.3
BEAM
4.8.2
JAM
4.8.2.7
BEAM
4.9.1
BEAM
reversed7.97 18.79 15.50 31.38 16.97 1.00
all_same6.68 15.53 13.65 32.15 14.09 1.03
sorted7.85 18.59 15.82 31.85 17.06 1.29
random7.74 17.97 15.65 31.32 16.59 7.97

Source for sort_bm.erl