Edit the function
f() below with your own code you want to benchmark.
To benchmark a small piece of code that completes in nanoseconds, don't increase the
options.times to a large number. Instead, run the code inside a loop N times (say 100K or 1M)
and then run this
Your code is executed entirely on the browser and no details are sent to the server.