Description
fuite is a command-line tool for finding memory leaks in web apps. The name is French for leak. It launches Chrome with Puppeteer, loads a page and runs a scenario against it for a number of iterations, seven by default. It then looks for objects that leaked on every iteration, which the author says cuts through the noise in memory analysis. The leaks it checks for include objects captured with Chrome heap snapshots, event listeners, DOM nodes that are attached or detached, and collections such as arrays, maps, sets and plain objects. By default it finds the internal links on a client-rendered page, clicks each one, presses the back button and repeats, which often catches leaks in single-page apps with client-side routing. Other scenarios can be written as a file, and a setup function can handle steps such as logging in. The output option writes a JSON file with extra detail, including the line of code where an event listener was declared. The README links an introductory blog post and a tutorial video.…
Highlights
- Finds objects that leak on every iteration
- Default scenario clicks internal links and goes back
- Custom scenario files and a setup function
- JSON output with the line of each event listener
Ratings & Reviews
No ratings yet
Be the first to rate Fuite.
People also visit
Fuite FAQ
What does fuite do?
It runs a scenario against a web page several times in Chrome and reports objects that leak each time, so you can find memory leaks.
How does it work?
It launches Chrome with Puppeteer, runs the scenario for seven iterations by default and looks for objects that leaked seven times, or fourteen or twenty-eight.
What does the default scenario do?
It finds internal links on the page, clicks each one, presses the browser back button and checks whether the scenario leaks.
Can I test a login flow?
Yes. Use the setup option with a custom setup function, for example to log in with a username and password.
Where can I see the detail?
Use the output option to write a JSON file with the full analysis, including where event listeners were declared.
Is it free?
The source is public on GitHub, so it is open source.
What are the best Fuite alternatives?
Popular alternatives to Fuite include SourceLeakHacker, DebugHunter and WebRTC-Leak-Prevent. See all Fuite alternatives













