-
Notifications
You must be signed in to change notification settings - Fork 23
Heap snapshot diffs for accurate memtest leak detection #1372
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
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
0fa8fbd
fork and prepare
enisdenjo 21680d6
WIP
enisdenjo 28d3028
prepare fixtures
enisdenjo fe99956
heapsnapshot ready
enisdenjo df1c75e
snaploader can get dispatcher or progress
enisdenjo c753e7d
use linked heapsnap
enisdenjo 0bf4d34
parse heap snapshot
enisdenjo 53e0df1
proper worker url
enisdenjo 61804ad
report problem to progress and remove console.time
enisdenjo 404656b
actually use silent
enisdenjo d2c10d0
no sourcemap
enisdenjo 3eabe77
build and commit
enisdenjo b9e75b6
simpler names
enisdenjo e03bc54
leaking objects
enisdenjo a0d1cd1
ready up!
enisdenjo 78af760
rename
enisdenjo 1343a91
return of heapsampling
enisdenjo 28e8437
refactor and prepare memtests for heapsnapshot diffs
enisdenjo 1bf5c54
do heap snap diff
enisdenjo f8273ea
rapid
enisdenjo 2d413cc
clean and write heapsnap where needed
enisdenjo 195a2a1
better name
enisdenjo 6631475
imports
enisdenjo 3b7a7f4
better error
enisdenjo aa044c3
use si prefix and tab
enisdenjo 5e8b9c1
no space
enisdenjo b1de91f
no expect
enisdenjo dec5af6
remove snaps if no leak
enisdenjo 5b4257c
no bsp
enisdenjo 4a28ad7
explain
enisdenjo 07d42dc
start time in heapsnaps for loadtests
enisdenjo c589f4b
support huge files
enisdenjo 24045d2
unused import
enisdenjo d2c27d0
shorten and no rapid (no need because heapsnaps)
enisdenjo 04a0222
silent parsing
enisdenjo dfe8f20
more info
enisdenjo 67acd8c
as much as possible details
enisdenjo 581eff3
freed nothing
enisdenjo 79b52ad
better
enisdenjo 4c5a739
bytes to human
enisdenjo 5e2d1e9
export diff
enisdenjo 437b3b7
actuall diff
enisdenjo 9f1e73f
leaking objects grow in every snapshot
enisdenjo 7d32447
no count > 10
enisdenjo aba7f13
no expected heavy frames
enisdenjo 55f80ad
no compile code
enisdenjo a323d1c
more runs
enisdenjo d142c84
explain
enisdenjo ea467b6
drop unused
enisdenjo 628b4b7
format
enisdenjo c2b8a98
no retries
enisdenjo 26f3151
no bun test
enisdenjo 2697117
no tosorted
enisdenjo a1d8540
upload heapsnapshots
enisdenjo 0f15cc0
use archives for heap snaps
enisdenjo 1422791
use size delta and correctly assume first snap
enisdenjo 6c54c48
maybe plural
enisdenjo 9764b79
should switch first snap correctly
enisdenjo e148167
small leak in array test
enisdenjo a5c469b
typoes explanations and stuff
enisdenjo 6f1fc1a
no system
enisdenjo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
node_modules/ | ||
.DS_Store | ||
dist/ | ||
!/internal/heapsnapshot/dist/ | ||
bundle/ | ||
.yarn/* | ||
!.yarn/patches | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Fork of [ChromeDevTools/devtools-frontend/[...]/heap_snapshot_worker](https://github.com/ChromeDevTools/devtools-frontend/blob/dd60dc9c8add93357dcffcfc3e2a9e5a31864413/front_end/entrypoints/heap_snapshot_worker) without the browser requirements, adapted for Node, with utilities for quick setup, parsing and analysis. | ||
|
||
Please make sure to build and commit any changes done inside this package to allow for "buildless" testing. | ||
|
||
This is the only package in the project that is used built (it's not listed in `tsconfig.json#paths`) because it uses worker threads and they need Node-ready JavaScript. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps indicate here why it's commited ?