This is a repository of JSspeedometer
Tool for benchmark parsing and execution time of JS script. Inspring by Bundlephobia and DeviceTiming.
- Calculate parsing / execution time of JS
- Slect bundle from CDNJS or use custom url
- Calculate by eval script in real browser ( Puppeteer )
If you like JSspeedometer and it help you to make a good product. Just buy me a coffee
js-speedometer will inject JS to template included evaluation script then open with Puppeteer and collect information from browser log. Script will run 3 times and calculate to average metric.
We run this script 3 times and each time will run by 4x slower CPU speed. Apoximity runing time is 1 mins.
- Edit
.env.sample
and re-name to.env
- Run
yarn install
- Run
yarn start