-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supports heap snapshots using the new @vscode/v8-heap-parser module. The parser runs in a Node.js worker_thread on the extension host, and is queried by postmessage RPC from connected webviews. This adds a table view and a cytoscape-powered graph view of retainers, in the 'flame' package, as seen in pacific standup yesterday. Most of the work in this PR is reworking the existing structures to support asynchronously loading data. Heap snapshots are _big_, far bigger than CPU profiles or heap profiles, so we don't want to load it into memory all at once.
- Loading branch information
1 parent
7628451
commit 4c93db3
Showing
50 changed files
with
1,733 additions
and
220 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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
File renamed without changes.
This file contains 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,10 @@ | ||
/*--------------------------------------------------------- | ||
* Copyright (C) Microsoft Corporation. All rights reserved. | ||
*--------------------------------------------------------*/ | ||
|
||
import { FunctionComponent, h } from 'preact'; | ||
import styles from './filterBar.css'; | ||
|
||
export const FilterBar: FunctionComponent = ({ children }) => ( | ||
<div className={styles.f}>{children}</div> | ||
); |
This file contains 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,29 @@ | ||
.progress { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
height: 2px; | ||
pointer-events: none; | ||
overflow: hidden; | ||
z-index: 1; | ||
} | ||
|
||
.progress::before { | ||
content: ""; | ||
position: absolute; | ||
inset: 0; | ||
width: 2%; | ||
animation-name: progress; | ||
animation-duration: 4s; | ||
animation-iteration-count: infinite; | ||
animation-timing-function: linear; | ||
transform: translate3d(0px, 0px, 0px); | ||
background: var(--vscode-progressBar-background); | ||
} | ||
|
||
@keyframes progress { | ||
from { transform: translateX(0%) scaleX(1) } | ||
50% { transform: translateX(2500%) scaleX(3) } | ||
to { transform: translateX(4900%) scaleX(1) } | ||
} |
This file contains 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,8 @@ | ||
/*--------------------------------------------------------- | ||
* Copyright (C) Microsoft Corporation. All rights reserved. | ||
*--------------------------------------------------------*/ | ||
|
||
import { FunctionComponent, h } from 'preact'; | ||
import style from './pageLoader.css'; | ||
|
||
export const PageLoader: FunctionComponent = () => <div className={style.progress} />; |
This file contains 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 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
Oops, something went wrong.