Skip to content

A script that builds the “wrapped” Benchmark.js version as used on jsPerf.com.

License

Notifications You must be signed in to change notification settings

jsperf/benchmark.js-wrapper

Repository files navigation

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.

About

A script that builds the “wrapped” Benchmark.js version as used on jsPerf.com.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •