Files
2026-07-13 12:30:05 +08:00

399 lines
16 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
exports[`memory > compare_heapsnapshots > compare heap-1 to heap-2 1`] = `
## Heap Snapshot Data
### Heap Snapshot Diff
index,className,addedCount,removedCount,countDelta,addedSize,removedSize,sizeDelta
0,(object shape),11,1,10,0.4 kB,0.0 kB,0.4 kB
1,(compiled code),7,1,6,0.3 kB,0.0 kB,0.2 kB
2,NewObject,2,0,2,0.1 kB,0.0 kB,0.1 kB
3,(concatenated string),45,43,2,0.9 kB,0.9 kB,0.0 kB
4,Array,2,0,2,0.0 kB,0.0 kB,0.0 kB
5,{constructor},1,0,1,0.0 kB,0.0 kB,0.0 kB
6,(string),4,4,0,0.1 kB,0.1 kB,0.0 kB
7,(number),0,2,-2,0.0 kB,0.0 kB,-0.0 kB
8,Object,0,2,-2,0.0 kB,0.0 kB,-0.0 kB
9,InitialObject,0,2,-2,0.0 kB,0.1 kB,-0.1 kB
`;
exports[`memory > compare_heapsnapshots > compare heap-1 to heap-2 with classIndex filter 1`] = `
## Heap Snapshot Data
### Heap Snapshot Detailed Diff
NewObject: # new: 2, # deleted: 0, # delta: +2, alloc size: +0.1 kB, freed size: 0.0 kB, size delta: +0.1 kB
Objects:
+ @35179 (self_size: 0.1 kB)
+ @35181 (self_size: 0.1 kB)
`;
exports[`memory > compare_heapsnapshots > compare heap-2 to heap-3 1`] = `
## Heap Snapshot Data
### Heap Snapshot Diff
index,className,addedCount,removedCount,countDelta,addedSize,removedSize,sizeDelta
0,(concatenated string),105,0,105,2.1 kB,0.0 kB,2.1 kB
1,(object shape),7,1,6,0.3 kB,0.1 kB,0.3 kB
2,(string),10,0,10,0.2 kB,0.0 kB,0.2 kB
3,NewObject,5,0,5,0.1 kB,0.0 kB,0.1 kB
4,Array,5,0,5,0.1 kB,0.0 kB,0.1 kB
5,system / PropertyArray,1,0,1,0.0 kB,0.0 kB,0.0 kB
`;
exports[`memory > get_heapsnapshot_class_nodes > with default options 1`] = `
## Heap Snapshot Data
nodeId,nodeName,type,distance,selfSize,retainedSize
25307,Array,object,2,0.2 kB,2.1 kB
46355,Array,object,2,0.2 kB,2.1 kB
33187,Array,object,2,0.2 kB,1.7 kB
36255,Array,object,2,0.2 kB,1.7 kB
45901,Array,object,5,0.1 kB,0.1 kB
46151,Array,object,5,0.1 kB,0.1 kB
45899,Array,object,5,0.1 kB,0.1 kB
46149,Array,object,5,0.1 kB,0.1 kB
Showing 1-8 of 8 (Page 1 of 1).
`;
exports[`memory > get_heapsnapshot_class_nodes > with objectsRetainedByContexts filterName 1`] = `
## Heap Snapshot Data
nodeId,nodeName,type,distance,selfSize,retainedSize
45897,makeCallable,closure,5,0.0 kB,0.2 kB
46147,makeCallable,closure,5,0.0 kB,0.2 kB
45893,Apply,closure,5,0.0 kB,0.0 kB
45895,Save,closure,5,0.0 kB,0.0 kB
46143,Apply,closure,5,0.0 kB,0.0 kB
46145,Save,closure,5,0.0 kB,0.0 kB
Showing 1-6 of 6 (Page 1 of 1).
`;
exports[`memory > get_heapsnapshot_details > with default options 1`] = `
## Heap Snapshot Data
Objects: 11940
Total shallow size: 802 kB
Showing 1-157 of 157 (Page 1 of 1).
id,name,count,selfSize,maxRetainedSize
2,(system),3205,199 kB,655 kB
11,Function,3581,111 kB,237 kB
16,(object shape),2878,181 kB,184 kB
3,(array),34,41.4 kB,117 kB
42,Window (global*) / https://example.com,2,81.1 kB,102 kB
94,Window (prototype) / https://example.com,4,53.3 kB,53.7 kB
1,(compiled code),713,42.8 kB,47.0 kB
6,(string),846,27.9 kB,27.9 kB
96,Window (internal cache) / https://example.com,4,0.4 kB,20.3 kB
15,Object (global*),2,3.9 kB,13.5 kB
55,{constructor, toString, toDateString, toTimeString, toISOString, toUTCString, toGMTString, getDate, setDate, getDay},4,0.8 kB,8.8 kB
49,TypedArray,48,1.4 kB,8.8 kB
109,Document,1,8.4 kB,8.7 kB
50,Error,48,1.3 kB,7.9 kB
47,Math,4,0.8 kB,7.8 kB
19,Array,8,1.1 kB,7.7 kB
39,{constructor, buffer, get buffer, byteLength, get byteLength, byteOffset, get byteOffset, length, get length},4,0.6 kB,7.0 kB
10,HTMLDocument,1,3.3 kB,6.2 kB
44,console,4,0.5 kB,6.2 kB
32,String,4,1.0 kB,6.1 kB
68,DataView,4,0.5 kB,5.5 kB
105,HTMLElement,1,4.7 kB,4.8 kB
62,Intl.Locale,4,0.3 kB,4.7 kB
104,Element,1,4.2 kB,4.5 kB
76,{constructor, getColumnNumber, getEnclosingColumnNumber, getEnclosingLineNumber, getEvalOrigin, getFileName, getFunction},4,0.5 kB,4.4 kB
45,Intl,4,0.3 kB,4.2 kB
25,{<symbol Symbol.iterator>, constructor, get constructor, set constructor, reduce, toArray, forEach, some, every, find},4,0.3 kB,3.6 kB
89,system / Context,116,2.5 kB,3.5 kB
43,Atomics,4,0.3 kB,3.1 kB
91,DisposableStack,4,0.2 kB,3.0 kB
92,AsyncDisposableStack,4,0.2 kB,3.0 kB
46,Reflect,4,0.3 kB,2.5 kB
72,ArrayBuffer,4,0.2 kB,2.2 kB
9,Window / https://example.com,1,0.9 kB,1.9 kB
37,WebAssembly,4,0.4 kB,1.9 kB
58,{constructor, <symbol Symbol.toStringTag>, resolvedOptions, adoptText, get adoptText, first, get first, next, get next},4,0.1 kB,1.8 kB
103,Node,1,1.8 kB,1.8 kB
126,Performance,1,1.0 kB,1.8 kB
30,Set,4,0.4 kB,1.6 kB
40,{constructor},14,0.4 kB,1.6 kB
90,SharedArrayBuffer,4,0.1 kB,1.6 kB
56,Intl.NumberFormat,4,0.2 kB,1.5 kB
66,Intl.DateTimeFormat,4,0.2 kB,1.5 kB
27,Map,4,0.3 kB,1.5 kB
48,Number,4,0.2 kB,1.5 kB
70,Symbol,4,0.2 kB,1.4 kB
67,{at, copyWithin, entries, fill, find, findIndex, findLast, findLastIndex, flat, flatMap, includes, keys, toReversed},4,0.3 kB,1.3 kB
106,HTMLBodyElement (prototype) / https://example.com,1,1.2 kB,1.2 kB
54,Object,22,0.9 kB,1.2 kB
59,Intl.PluralRules,4,0.2 kB,1.2 kB
60,Intl.RelativeTimeFormat,4,0.2 kB,1.2 kB
61,Intl.ListFormat,4,0.2 kB,1.2 kB
65,Intl.DurationFormat,4,0.2 kB,1.2 kB
69,BigInt,4,0.2 kB,1.2 kB
28,{constructor, __defineGetter__, __defineSetter__, hasOwnProperty, __lookupGetter__, __lookupSetter__, isPrototypeOf},4,0.3 kB,1.1 kB
17,{isTraceCategoryEnabled, trace, getContinuationPreservedEmbedderData, setContinuationPreservedEmbedderData, console},4,0.2 kB,1.1 kB
130,StyleEngine,1,0.9 kB,1.1 kB
118,CSSStyleRule,8,0.6 kB,1.0 kB
21,Generator,4,0.2 kB,1.0 kB
23,AsyncGenerator,4,0.2 kB,1.0 kB
34,JSON,4,0.2 kB,1.0 kB
35,Promise,4,0.2 kB,1.0 kB
57,Intl.Collator,4,0.1 kB,1.0 kB
119,CSSStyleSheet,3,0.5 kB,1.0 kB
33,WeakMap,4,0.2 kB,1.0 kB
52,FinalizationRegistry,4,0.1 kB,0.9 kB
63,Intl.DisplayNames,4,0.1 kB,0.9 kB
64,Intl.Segmenter,4,0.1 kB,0.9 kB
73,Async-from-Sync Iterator,4,0.1 kB,0.9 kB
22,{<symbol Symbol.asyncIterator>, <symbol Symbol.asyncDispose>},4,0.1 kB,0.9 kB
85,{containing, <symbol Symbol.iterator>},4,0.1 kB,0.8 kB
51,WeakRef,4,0.1 kB,0.8 kB
79,WebAssembly.Table,4,0.2 kB,0.8 kB
80,WebAssembly.Memory,4,0.2 kB,0.8 kB
71,Boolean,4,0.1 kB,0.8 kB
18,Array Iterator,4,0.1 kB,0.7 kB
24,Iterator Helper,4,0.1 kB,0.7 kB
26,Map Iterator,4,0.1 kB,0.7 kB
29,Set Iterator,4,0.1 kB,0.7 kB
31,String Iterator,4,0.1 kB,0.7 kB
86,Segmenter String Iterator,4,0.1 kB,0.7 kB
88,RegExp String Iterator,4,0.1 kB,0.7 kB
20,{constructor, name, message, toString},4,0.1 kB,0.7 kB
87,{next, return},4,0.1 kB,0.7 kB
75,AsyncGeneratorFunction,4,0.1 kB,0.7 kB
84,GeneratorFunction,4,0.1 kB,0.7 kB
74,AsyncFunction,4,0.1 kB,0.6 kB
81,WebAssembly.Global,4,0.1 kB,0.6 kB
93,WebAssembly.Suspending,4,0.1 kB,0.6 kB
100,{loadTimes, csi},2,0.1 kB,0.6 kB
36,{constructor, exec, dotAll, get dotAll, flags, get flags, global, get global, hasIndices, get hasIndices, ignoreCase},4,0.2 kB,0.6 kB
78,WebAssembly.Instance,4,0.1 kB,0.5 kB
83,WebAssembly.Exception,4,0.1 kB,0.5 kB
110,Text,6,0.5 kB,0.5 kB
77,WebAssembly.Module,4,0.1 kB,0.4 kB
82,WebAssembly.Tag,4,0.1 kB,0.4 kB
101,EventTarget,2,0.1 kB,0.4 kB
53,WeakSet,4,0.2 kB,0.4 kB
135,EventListener,10,0.4 kB,0.4 kB
99,{parse, stringify},2,0.0 kB,0.4 kB
127,Navigation,1,0.2 kB,0.4 kB
4,{<symbol handler_function>, <symbol feature_name>},8,0.2 kB,0.4 kB
134,FontFaceSet,1,0.3 kB,0.3 kB
133,StylePropertyMap,8,0.3 kB,0.3 kB
139,MutationObserver,2,0.3 kB,0.3 kB
102,WindowProperties,2,0.1 kB,0.3 kB
115,<style>,1,0.1 kB,0.3 kB
123,IntersectionObserver,1,0.2 kB,0.2 kB
132,MutationObserver::Delegate,2,0.1 kB,0.2 kB
131,ScriptedAnimationController,1,0.2 kB,0.2 kB
95,MutationObserver (prototype) / https://example.com,1,0.2 kB,0.2 kB
7,(number),16,0.2 kB,0.2 kB
120,NavigationHistoryEntry,1,0.2 kB,0.2 kB
129,StyleSheetCollection,1,0.2 kB,0.2 kB
147,<a>,1,0.1 kB,0.2 kB
146,DocumentTimeline,1,0.2 kB,0.2 kB
5,RegExp,1,0.1 kB,0.2 kB
114,<title>,1,0.1 kB,0.2 kB
116,PerformancePaintTiming,2,0.2 kB,0.2 kB
145,<p>,2,0.2 kB,0.2 kB
111,<div>,1,0.1 kB,0.2 kB
122,ServiceWorkerContainer,1,0.2 kB,0.2 kB
125,Navigator,1,0.2 kB,0.2 kB
155,PerformanceNavigationTiming,1,0.2 kB,0.2 kB
113,<head>,1,0.1 kB,0.2 kB
98,HTMLDocument (prototype) / https://example.com,1,0.1 kB,0.1 kB
117,PerformanceResourceTiming,1,0.1 kB,0.1 kB
152,LargestContentfulPaint,1,0.1 kB,0.1 kB
38,Tag,4,0.1 kB,0.1 kB
136,CustomElementRegistry,1,0.1 kB,0.1 kB
138,CSSRuleList,4,0.1 kB,0.1 kB
141,Storage,2,0.1 kB,0.1 kB
13,<body>,1,0.1 kB,0.1 kB
14,Object (global),2,0.0 kB,0.1 kB
121,DOMTokenList,2,0.1 kB,0.1 kB
148,HTMLCollection,1,0.1 kB,0.1 kB
150,ScriptRunner,1,0.1 kB,0.1 kB
112,<meta>,1,0.1 kB,0.1 kB
41,(concatenated string),2,0.0 kB,0.1 kB
140,<html>,1,0.1 kB,0.1 kB
144,<h1>,1,0.1 kB,0.1 kB
149,Screen,1,0.1 kB,0.1 kB
153,DocumentType,1,0.1 kB,0.1 kB
156,VisibilityStateEntry,1,0.1 kB,0.1 kB
137,MutationObserverRegistration,1,0.1 kB,0.1 kB
8,Window (global) / https://example.com,1,0.0 kB,0.1 kB
151,FragmentDirective,1,0.1 kB,0.1 kB
124,IntersectionObserverDelegate,1,0.0 kB,0.0 kB
128,NavigationActivation,1,0.0 kB,0.0 kB
154,PerformanceTiming,1,0.0 kB,0.0 kB
157,Pending activities,1,0.0 kB,0.0 kB
142,VisualViewport,1,0.0 kB,0.0 kB
143,Viewport,1,0.0 kB,0.0 kB
12,HTMLBodyElement,1,0.0 kB,0.0 kB
97,HTMLDocument (internal cache) / https://example.com,1,0.0 kB,0.0 kB
107,MutationObserver (internal cache) / https://example.com,1,0.0 kB,0.0 kB
108,HTMLBodyElement (internal cache) / https://example.com,1,0.0 kB,0.0 kB
`;
exports[`memory > get_heapsnapshot_details > with objectsRetainedByContexts filterName 1`] = `
## Heap Snapshot Data
Objects: 148
Total shallow size: 3.5 kB
Showing 1-4 of 4 (Page 1 of 1).
id,name,count,selfSize,maxRetainedSize
1,system / Context,116,2.5 kB,3.5 kB
3,Function,6,0.2 kB,0.7 kB
2,(compiled code),22,0.5 kB,0.5 kB
4,Array,4,0.3 kB,0.3 kB
`;
exports[`memory > get_heapsnapshot_dominators > with valid nodeId 1`] = `
## Heap Snapshot Data
### Dominator Chain
nodeId,nodeName,selfSize,retainedSize
25341,String,0.2 kB,1.6 kB
7199,system / NativeContext,1.2 kB,84.4 kB
1,,0.0 kB,802 kB
`;
exports[`memory > get_heapsnapshot_duplicate_strings > with default options 1`] = `
## Heap Snapshot Data
### Duplicate Strings
Showing 1-13 of 13 (Page 1 of 1).
value,count,totalSelfSize,totalRetainedSize,truncated,nodeIds
"get disposed",8,0.2 kB,0.2 kB,false,@30685 @30731 @33713 @33781 @42891 @42947 @45203 @45233
"WebAssembly.Suspending",4,0.1 kB,0.1 kB,false,@44967 @45473 @46069 @46195
"extensions::SafeBuiltins",2,0.1 kB,0.1 kB,false,@25155 @26209
"WebAssembly",2,0.0 kB,0.0 kB,false,@7495 @15037
"EventTarget",3,0.0 kB,0.0 kB,false,@13309 @25089 @26185
"v8/LoadTimes",2,0.0 kB,0.0 kB,false,@25159 @26365
"Document",3,0.0 kB,0.0 kB,false,@12341 @25969 @26603
"WebAssembly.Exception",2,0.0 kB,0.0 kB,false,@1855 @7473
"WebAssembly.Module",2,0.0 kB,0.0 kB,false,@1857 @7429
"HTMLBodyElement",2,0.0 kB,0.0 kB,false,@13679 @44753
"MutationObserver",2,0.0 kB,0.0 kB,false,@14347 @32179
"HTMLElement",2,0.0 kB,0.0 kB,false,@11557 @43899
" ",2,0.0 kB,0.0 kB,false,@725 @789
`;
exports[`memory > get_heapsnapshot_edges > with pagination 1`] = `
## Heap Snapshot Data
name,type,nodeId,nodeName
constructor,property,25575,String
anchor,property,29295,anchor
Showing 1-2 of 56 (Page 1 of 28).
Next page: 1
`;
exports[`memory > get_heapsnapshot_edges > with valid nodeId 1`] = `
## Heap Snapshot Data
name,type,nodeId,nodeName
constructor,property,25575,String
anchor,property,29295,anchor
at,property,29297,at
big,property,29299,big
blink,property,29301,blink
bold,property,29303,bold
charAt,property,29305,charAt
charCodeAt,property,29307,charCodeAt
codePointAt,property,29309,codePointAt
concat,property,29311,concat
endsWith,property,29313,endsWith
fontcolor,property,29315,fontcolor
fontsize,property,29317,fontsize
fixed,property,29319,fixed
includes,property,29321,includes
indexOf,property,29323,indexOf
isWellFormed,property,29325,isWellFormed
italics,property,29327,italics
lastIndexOf,property,29329,lastIndexOf
link,property,29331,link
localeCompare,property,29333,localeCompare
match,property,29335,match
matchAll,property,29337,matchAll
normalize,property,29339,normalize
padEnd,property,29341,padEnd
padStart,property,29343,padStart
repeat,property,29345,repeat
replace,property,29347,replace
replaceAll,property,29349,replaceAll
search,property,29351,search
slice,property,29353,slice
small,property,29355,small
split,property,29357,split
strike,property,29359,strike
sub,property,29361,sub
substr,property,29363,substr
substring,property,29365,substring
sup,property,29367,sup
startsWith,property,29369,startsWith
toString,property,29371,toString
toWellFormed,property,29373,toWellFormed
trim,property,29375,trim
trimStart,property,29377,trimStart
trimLeft,property,29377,trimStart
trimEnd,property,29379,trimEnd
trimRight,property,29379,trimEnd
toLocaleLowerCase,property,29381,toLocaleLowerCase
toLocaleUpperCase,property,29383,toLocaleUpperCase
toLowerCase,property,29385,toLowerCase
toUpperCase,property,29387,toUpperCase
valueOf,property,29389,valueOf
<symbol Symbol.iterator>,property,29391,[Symbol.iterator]
__proto__,property,25329,{constructor, __defineGetter__, __defineSetter__, …, get __proto__, set __proto__, toLocaleString}
properties,internal,29393,system / PropertyArray
map,internal,25577,system / Map
1,hidden,71,
Showing 1-56 of 56 (Page 1 of 1).
`;
exports[`memory > get_heapsnapshot_retainers > with valid nodeId 1`] = `
## Heap Snapshot Data
name,type,nodeId,nodeName
prototype,internal,29287,system / Map
prototype,property,25575,String
initial_string_prototype,internal,7199,system / NativeContext
Showing 1-3 of 3 (Page 1 of 1).
`;
exports[`memory > get_heapsnapshot_retaining_paths > with valid nodeId 1`] = `
## Heap Snapshot Data
### Retaining Paths
<- @45891 system / Context via context builtinToJSONs (distance: 4)
<- @34237 safe via internal context (distance: 3)
<- @27635 Window (global*) / https://example.com via property <symbol extensions::SafeBuiltins::Promise> (distance: 2)
<- @34235 system / PropertyCell via internal value (distance: 4)
<- @50423 (object properties) via internal 1912 (distance: 3)
<- @27635 Window (global*) / https://example.com via internal properties (distance: 2)
<- @34213 safe via internal context (distance: 3)
<- @27635 Window (global*) / https://example.com via property <symbol extensions::SafeBuiltins::Error> (distance: 2)
<- @34197 safe via internal context (distance: 3)
<- @27635 Window (global*) / https://example.com via property <symbol extensions::SafeBuiltins::RegExp> (distance: 2)
<- @34185 safe via internal context (distance: 3)
<- @27635 Window (global*) / https://example.com via property <symbol extensions::SafeBuiltins::String> (distance: 2)
<- @34145 safe via internal context (distance: 3)
<- @27635 Window (global*) / https://example.com via property <symbol extensions::SafeBuiltins::Array> (distance: 2)
<- @34069 safe via internal context (distance: 3)
<- @27635 Window (global*) / https://example.com via property <symbol extensions::SafeBuiltins::Function> (distance: 2)
<- @34047 safe via internal context (distance: 3)
<- @27635 Window (global*) / https://example.com via property <symbol extensions::SafeBuiltins::Object> (distance: 2)
<- @46063 stringify via internal context (distance: 4)
<- @34247 {parse, stringify} via property stringify (distance: 3)
<- @27635 Window (global*) / https://example.com via property <symbol extensions::SafeBuiltins::JSON> (distance: 2)
`;
exports[`memory > get_heapsnapshot_summary > with default options 1`] = `
## Heap Snapshot Data
Statistics: {
"total": 1121496,
"native": {
"total": 333392,
"typedArrays": 0
},
"v8heap": {
"total": 788104,
"code": 42812,
"jsArrays": 1312,
"strings": 27920,
"system": 199264
}
}
Static Data: {
"nodeCount": 27466,
"rootNodeIndex": 0,
"totalSize": 1121496,
"maxJSObjectId": 54005
}
`;