Skip to content

Tool for benchmark parsing and execution time of JS script

Notifications You must be signed in to change notification settings

thangman22/js-speedometer

Repository files navigation

JSspeedometer

This is a repository of JSspeedometer

Bundle Speedometer

Tool for benchmark parsing and execution time of JS script. Inspring by Bundlephobia and DeviceTiming.

Feature

  • Calculate parsing / execution time of JS
  • Slect bundle from CDNJS or use custom url
  • Calculate by eval script in real browser ( Puppeteer )

Support

If you like JSspeedometer and it help you to make a good product. Just buy me a coffee

Buy me a coffee

FAQ

How it work?

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.

Why it so slow?

We run this script 3 times and each time will run by 4x slower CPU speed. Apoximity runing time is 1 mins.

Development

  • Edit .env.sample and re-name to .env
  • Run yarn install
  • Run yarn start

About

Tool for benchmark parsing and execution time of JS script

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published