Trying to make benchmark.js cross-platform.