How to use the benchmark.prototype function in benchmark

To help you get started, we’ve selected a few benchmark examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nickyout / fast-stable-stringify / benchmark-log / stats / file-compare.js View on Github external
dataSets.forEach(function(el) {
		resultMap[getLibName(el)] = {
			hz: el.hz,
			rme: el.stats.rme / 100,
			fastest: Benchmark.prototype.compare.call(dataSetFastest, el) === 0,
			succeeded: isValid(el),
			rhz: el.hz / dataSetFastest.hz
		};
	});