Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output shows floating point numbers when leaks are inconsistent #2

Open
nolanlawson opened this issue Dec 17, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@nolanlawson
Copy link
Owner

If a page is leaking nodes / listeners at an irregular rate (e.g. for 7 iterations, a node leaked 9 times), then the CLI will show a floating point number (e.g. 1.2857142857142858 per iteration).

I don't really want to use the same "it must be exactly 7 iterations" logic for DOM nodes or event listeners, because in those cases, a leak is a leak, but maybe the output can be a bit cleaner.

@nolanlawson nolanlawson added the bug Something isn't working label Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant