luajit -O
-------------------------------------------------------------------
name | rel | abs s / iter = us (1e-6 s) / iter
-------------------------------------------------------------------
assert_is | 1.0000 | 4.13 / 10000000 = 0.413000 us
plain_assert | 1.0847 | 4.48 / 10000000 = 0.448000 us
args_recursive_simp | 1.4189 | 5.86 / 10000000 = 0.586000 us
args_recursive_ln | 1.4383 | 5.94 / 10000000 = 0.594000 us
args_select_simple | 1.7724 | 7.32 / 10000000 = 0.732000 us
assert_is_alloc | 3.0993 | 12.80 / 10000000 = 1.280000 us
lua
-------------------------------------------------------------------
name | rel | abs s / iter = us (1e-6 s) / iter
-------------------------------------------------------------------
plain_assert | 1.0000 | 11.86 / 10000000 = 1.186000 us
assert_is | 1.0793 | 12.80 / 10000000 = 1.280000 us
args_select_simple | 1.5776 | 18.71 / 10000000 = 1.871000 us
args_recursive_simp | 1.7083 | 20.26 / 10000000 = 2.026000 us
args_recursive_ln | 1.7749 | 21.05 / 10000000 = 2.105000 us
assert_is_alloc | 2.0135 | 23.88 / 10000000 = 2.388000 us