Benchmark This is a simple script that help measure the performances of functions. Update : testFunctions.js benchmark.js And then run : yarn test npm run test We use benchmark.js for this purpose.