Example Benchmarks
A simple Javascript benchmark comparing Number.prototype performance vs a declared function. The comparison uses a simple Javascript modulo calculation.
Simple embedded script benchmark. Imports the Lodash library with
Lodash import using <script type="module">
.
Just tick the async
checkbox for each asynchronous test. You will then have access to a deferred
object. In your test code, whenever your test is finished, call deferred.resolve()
.