Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Create a benchmark
Consider signing in before you create a benchmark.
You'll be able to edit it later. Benchmarks created by guest users
can't be edited
, only forked.
Log In
Benchmark name and description
Benchmark with such name already exists.
Use tinybench runner (experimental)
Run this benchmark with the tinybench engine instead of the default Benchmark.js 2.1.4 runner. Test cases written in TypeScript are transpiled in your browser before running, with either engine.
Preparation code
Html Preparation code
<!--your preparation HTML code goes here-->
Quick HTML Snippets:
<div/>
<a/>
<canvas/>
<script>
Reference popular libraries:
jQuery
React.JS
lodash
moment.js
Chart.js
jqueryui
underscore.js
d3
Pyodide
Format HTML
JavaScript preparation code
/*your preparation JavaScript code goes here To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/ async function globalMeasureThatScriptPrepareFunction() { // This function is optional, feel free to remove it. // await someThing(); }
New Script snippets:
For loop
Array
document.getElementById
console.log
Format JavaScript
Test cases
Logged out users (guests) must validate their benchmarks before publishing. Click
Validate the benchmark
.
Validation log:
Validate benchmark
Cancel
/*When writing async/deferred tests, use `deferred.resolve()` to mark test as done*/