Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

oslabs-beta/kondo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

kondo (BETA)

Identify potential memory leaks in your Javascript applications.

View useful memory metrics and changes over time.

Save all of your browser actions and state changes so you only have to do them once.

Getting Started

Install our npm package

npm install kondo

To create a script to be reproduced within Puppeteer and analyzed for memory leaks, run:

npm run record <scriptName> <url>

This will load your site into a browser with a customized version of the Puppeteer Recorder Chrome extension (https://github.com/checkly/puppeteer-recorder). Click on the extension and press 'Start' to begin recording. Begin toggling visual states and performing any actions within your site that don't trigger a reload of the page. Press 'Stop' in the extension when finished to end recording and store a Puppeteer script to your local userscripts.js file automatically.

To run an existing script and analyze your page for memory leaks, run:

npm run script <scriptName>

Open http://localhost:8000 to view your results. It can take 30-60 seconds to finish loading.

Built with:

Contributors:

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published