add darwin support

replace perf stat with bash+date stats.
found the 2.9.0 slowdown by 20%: GC ms2