Détail du package

@mathias/benchmark.js-wrapper-jsperf

jsperf101MIT1.0.4

The special jsPerf-specific build of Benchmark.js.

readme

Benchmark.js wrapper for jsPerf Build status

This repository hosts scripts that generate the special jsPerf-specific build of Benchmark.js.

Demo / test page: https://jsperf.github.io/benchmark.js-wrapper/

Why does jsPerf need a special build?

On jsPerf, we want to avoid creating global variables for Benchmark.js’s dependencies such as _ and platform, since they might interfere with people’s tests otherwise.

Additionally, there are some jsPerf-specific settings that are not hardcoded in the distributed versions of Benchmark.js and its jsPerf UI plugin.