Skip to main content

SQL Frames JavaScript Performance Benchmarking

SQL Frames has a builtin API to do performance benchmarking of javascript code. It was primarily developed to help developers benchmark the timing of their initial data loading and subsequent data transformation timings. However, it can be used to benchmark any piece of javascript code. Hence, it is being made available for everyone to use it for free.

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 options.times.


Your code is executed entirely on the browser and no details are sent to the server.