Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adriancooney/puppeteer-heap-snapshot
/ functions
Functions
47 in github.com/adriancooney/puppeteer-heap-snapshot
⨍
Functions
47
◇
Types & classes
0
↓ 16 callers
Function
getFieldValue
( heapSnapshot: HeapSnapshot, fieldSource: "edge" | "node", fieldName: string, value: Uint32Array, s
src/snapshot.ts:91
↓ 8 callers
Function
findObjectsWithProperties
( heapSnapshot: HeapSnapshot, properties: Props, options?: Options )
src/query.ts:17
↓ 5 callers
Function
getNodeAtIndex
( heapSnapshot: HeapSnapshot, index: number )
src/snapshot.ts:212
↓ 5 callers
Function
info
(...args: any[])
bin/puppeteer-heap-snapshot.ts:158
↓ 3 callers
Function
findObjectWithProperties
( heapSnapshot: HeapSnapshot, properties: Props, options?: Options )
src/query.ts:49
↓ 3 callers
Function
getNodeEdgeCount
( heapSnapshot: HeapSnapshot, node: HeapSnapshotNode )
src/snapshot.ts:59
↓ 2 callers
Function
captureHeapSnapshot
( target: Target )
src/capture.ts:8
↓ 2 callers
Function
deserializeHeapSnapshot
( serializedHeapSnapshot: SerializedHeapSnapshot )
src/serialize.ts:13
↓ 2 callers
Function
fetchRemoteHeapSnapshot
(url: string)
bin/puppeteer-heap-snapshot.ts:112
↓ 2 callers
Function
findNodeById
( heapSnapshot: HeapSnapshot, nodeId: number )
src/snapshot.ts:183
↓ 2 callers
Function
findNodeIdsWithProperty
( heapSnapshot: HeapSnapshot, propertyName: string )
src/snapshot.ts:258
↓ 2 callers
Function
getEdgeAtIndex
( heapSnapshot: HeapSnapshot, edgeIndex: number )
src/snapshot.ts:82
↓ 2 callers
Function
getString
(heapSnapshot: HeapSnapshot, stringId: number)
src/snapshot.ts:6
↓ 2 callers
Function
isBoolean
(graph: HeapSnapshotStructuredGraph)
src/build-object.ts:110
↓ 2 callers
Function
isNull
(graph: HeapSnapshotStructuredGraph)
src/build-object.ts:117
↓ 2 callers
Function
readHeapSnapshot
( filepath: string )
src/fs.ts:5
↓ 2 callers
Function
reject
(error: Error)
src/capture.ts:27
↓ 1 callers
Function
buildObjectFromNodeId
( heapSnapshot: HeapSnapshot, nodeId: number, propertyFilter: (propertyName: string) => boolean = () =>
src/build-object.ts:10
↓ 1 callers
Function
compileGraphNodeObject
( graph: HeapSnapshotStructuredGraph )
src/build-object.ts:39
↓ 1 callers
Function
createStructuredEdge
( heapSnapshot: HeapSnapshot, edgeId: number )
src/structured-graph.ts:89
↓ 1 callers
Function
createStructuredGraph
( heapSnapshot: HeapSnapshot, nodeId: number, { maxDepth = Infinity, edgeFilter = () => true,
src/structured-graph.ts:15
↓ 1 callers
Function
createStructuredNode
( heapSnapshot: HeapSnapshot, nodeId: number )
src/structured-graph.ts:54
↓ 1 callers
Function
enableDebugLogging
()
src/util.ts:5
↓ 1 callers
Function
filterEdgeIds
( heapSnapshot: HeapSnapshot, iterator: (node: HeapSnapshotEdge, edgeId: number) => boolean )
src/snapshot.ts:138
↓ 1 callers
Function
findEdgeById
( heapSnapshot: HeapSnapshot, edgeId: number )
src/snapshot.ts:66
↓ 1 callers
Function
findEdgeParentNodeId
( heapSnapshot: HeapSnapshot, edgeId: number )
src/snapshot.ts:34
↓ 1 callers
Function
findNodeIdsWithProperties
( heapSnapshot: HeapSnapshot, propertyNames: readonly string[] )
src/snapshot.ts:228
↓ 1 callers
Function
findPropertyEdgeIdsForString
( heapSnapshot: HeapSnapshot, str: string )
src/snapshot.ts:273
↓ 1 callers
Function
getNodeEdgeIds
( heapSnapshot: HeapSnapshot, nodeId: number )
src/snapshot.ts:10
↓ 1 callers
Function
intersection
(a: T[], b: T[])
src/snapshot.ts:302
↓ 1 callers
Function
iterateEdges
( heapSnapshot: HeapSnapshot, iterator: (node: HeapSnapshotEdge, edgeId: number) => void | false )
src/snapshot.ts:153
↓ 1 callers
Function
iterateNodes
( heapSnapshot: HeapSnapshot, iterator: (node: HeapSnapshotNode, nodeIndex: number) => void | false )
src/snapshot.ts:166
↓ 1 callers
Function
log
(...args: any[])
bin/puppeteer-heap-snapshot.ts:163
↓ 1 callers
Function
resolve
(snapshot: HeapSnapshot)
src/capture.ts:22
↓ 1 callers
Function
serializeHeapSnapshot
( heapSnapshot: HeapSnapshot )
src/serialize.ts:3
↓ 1 callers
Function
setupBrowser
()
tests/fixtures/browser.ts:4
↓ 1 callers
Function
sortObjects
(objects: (T & { id: BuiltHeapValue })[])
tests/query.test.ts:154
↓ 1 callers
Function
withBrowser
( callback: (browser: Browser) => Promise<T> )
bin/puppeteer-heap-snapshot.ts:125
↓ 1 callers
Function
withPage
(callback: (page: Page) => Promise<T>)
tests/fixtures/browser.ts:19
↓ 1 callers
Function
withPage
( callback: (page: Page, browser: Browser) => Promise<T> )
bin/puppeteer-heap-snapshot.ts:139
↓ 1 callers
Function
writeHeapSnapshot
( filepath: string, heapSnapshot: HeapSnapshot )
src/fs.ts:13
Function
castProperties
(value: string)
bin/puppeteer-heap-snapshot.ts:13
Function
formatStructuredGraph
( structuredGraph: HeapSnapshotStructuredGraph, indentSize = 0 )
src/structured-graph.ts:123
Function
getBrowser
()
tests/fixtures/browser.ts:15
Function
querySnapshotCommand
({ url, filepath, properties, ignoreProperties, }: { url?: string; filepath?: string; properties
bin/puppeteer-heap-snapshot.ts:82
Function
relativeFilepath
(filepath: string)
bin/puppeteer-heap-snapshot.ts:153
Function
writeHeapSnapshotCommand
({ url, output, }: { url: string; output: string; })
bin/puppeteer-heap-snapshot.ts:68