-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathmemory.test.js.snapshot
More file actions
200 lines (198 loc) · 6.96 KB
/
memory.test.js.snapshot
File metadata and controls
200 lines (198 loc) · 6.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
exports[`memory > get_memory_snapshot_details > with default options 1`] = `
## Heap Snapshot Data
Showing 1-157 of 157 (Page 1 of 1).
uid,className,count,selfSize,maxRetainedSize
2,"(system)",3205,199264,655004
11,"Function",3581,111464,237120
16,"(object shape)",2878,181480,184320
3,"(array)",34,41416,117472
42,"Window (global*) / https://example.com",2,81068,101832
94,"Window (prototype) / https://example.com",4,53336,53712
1,"(compiled code)",713,42812,46988
6,"(string)",846,27880,27880
96,"Window (internal cache) / https://example.com",4,400,20256
15,"Object (global*)",2,3856,13488
55,"{constructor, toString, toDateString, toTimeString, toISOString, toUTCString, toGMTString, getDate, setDate, getDay}",4,848,8848
49,"TypedArray",48,1424,8784
109,"Document",1,8448,8700
50,"Error",48,1344,7872
47,"Math",4,816,7792
19,"Array",8,1056,7728
39,"{constructor, buffer, get buffer, byteLength, get byteLength, byteOffset, get byteOffset, length, get length}",4,624,7008
10,"HTMLDocument",1,3288,6192
44,"console",4,488,6152
32,"String",4,960,6056
68,"DataView",4,480,5504
105,"HTMLElement",1,4728,4768
62,"Intl.Locale",4,288,4672
104,"Element",1,4224,4540
76,"{constructor, getColumnNumber, getEnclosingColumnNumber, getEnclosingLineNumber, getEvalOrigin, getFileName, getFunction}",4,480,4448
45,"Intl",4,336,4192
25,"{<symbol Symbol.iterator>, constructor, get constructor, set constructor, reduce, toArray, forEach, some, every, find}",4,288,3600
89,"system / Context",116,2544,3488
43,"Atomics",4,336,3056
91,"DisposableStack",4,240,3040
92,"AsyncDisposableStack",4,240,3040
46,"Reflect",4,336,2480
72,"ArrayBuffer",4,192,2160
9,"Window / https://example.com",1,904,1944
37,"WebAssembly",4,416,1904
58,"{constructor, <symbol Symbol.toStringTag>, resolvedOptions, adoptText, get adoptText, first, get first, next, get next}",4,112,1808
103,"Node",1,1764,1804
126,"Performance",1,1040,1784
30,"Set",4,384,1616
40,"{constructor}",14,392,1560
90,"SharedArrayBuffer",4,112,1552
56,"Intl.NumberFormat",4,192,1536
66,"Intl.DateTimeFormat",4,192,1536
27,"Map",4,336,1504
48,"Number",4,240,1488
70,"Symbol",4,192,1376
67,"{at, copyWithin, entries, fill, find, findIndex, findLast, findLastIndex, flat, flatMap, includes, keys, toReversed}",4,336,1344
106,"HTMLBodyElement (prototype) / https://example.com",1,1188,1228
54,"Object",22,928,1168
59,"Intl.PluralRules",4,192,1168
60,"Intl.RelativeTimeFormat",4,192,1168
61,"Intl.ListFormat",4,192,1168
65,"Intl.DurationFormat",4,192,1168
69,"BigInt",4,192,1168
28,"{constructor, __defineGetter__, __defineSetter__, hasOwnProperty, __lookupGetter__, __lookupSetter__, isPrototypeOf}",4,288,1128
17,"{isTraceCategoryEnabled, trace, getContinuationPreservedEmbedderData, setContinuationPreservedEmbedderData, console}",4,192,1120
130,"StyleEngine",1,912,1104
118,"CSSStyleRule",8,576,1024
21,"Generator",4,192,1008
23,"AsyncGenerator",4,192,1008
34,"JSON",4,192,1008
35,"Promise",4,192,1000
57,"Intl.Collator",4,112,976
119,"CSSStyleSheet",3,528,976
33,"WeakMap",4,240,960
52,"FinalizationRegistry",4,112,928
63,"Intl.DisplayNames",4,112,928
64,"Intl.Segmenter",4,112,928
73,"Async-from-Sync Iterator",4,112,880
22,"{<symbol Symbol.asyncIterator>, <symbol Symbol.asyncDispose>}",4,112,864
85,"{containing, <symbol Symbol.iterator>}",4,112,832
51,"WeakRef",4,112,768
79,"WebAssembly.Table",4,192,768
80,"WebAssembly.Memory",4,192,768
71,"Boolean",4,144,752
18,"Array Iterator",4,112,720
24,"Iterator Helper",4,112,720
26,"Map Iterator",4,112,720
29,"Set Iterator",4,112,720
31,"String Iterator",4,112,720
86,"Segmenter String Iterator",4,112,720
88,"RegExp String Iterator",4,112,720
20,"{constructor, name, message, toString}",4,112,704
87,"{next, return}",4,112,672
75,"AsyncGeneratorFunction",4,112,656
84,"GeneratorFunction",4,112,656
74,"AsyncFunction",4,112,608
81,"WebAssembly.Global",4,112,592
93,"WebAssembly.Suspending",4,112,592
100,"{loadTimes, csi}",2,56,580
36,"{constructor, exec, dotAll, get dotAll, flags, get flags, global, get global, hasIndices, get hasIndices, ignoreCase}",4,240,576
78,"WebAssembly.Instance",4,112,544
83,"WebAssembly.Exception",4,112,544
110,"Text",6,480,480
77,"WebAssembly.Module",4,112,448
82,"WebAssembly.Tag",4,112,448
101,"EventTarget",2,92,436
53,"WeakSet",4,192,416
135,"EventListener",10,400,400
99,"{parse, stringify}",2,40,384
127,"Navigation",1,152,384
4,"{<symbol handler_function>, <symbol feature_name>}",8,224,352
134,"FontFaceSet",1,328,328
133,"StylePropertyMap",8,320,320
139,"MutationObserver",2,320,320
102,"WindowProperties",2,56,280
115,"<style>",1,128,264
123,"IntersectionObserver",1,200,240
132,"MutationObserver::Delegate",2,64,224
131,"ScriptedAnimationController",1,208,208
95,"MutationObserver (prototype) / https://example.com",1,156,196
7,"(number)",16,192,192
120,"NavigationHistoryEntry",1,192,192
129,"StyleSheetCollection",1,192,192
147,"<a>",1,136,192
146,"DocumentTimeline",1,184,184
5,"RegExp",1,100,176
114,"<title>",1,96,176
116,"PerformancePaintTiming",2,176,176
145,"<p>",2,176,176
111,"<div>",1,88,168
122,"ServiceWorkerContainer",1,168,168
125,"Navigator",1,168,168
155,"PerformanceNavigationTiming",1,168,168
113,"<head>",1,88,152
98,"HTMLDocument (prototype) / https://example.com",1,108,148
117,"PerformanceResourceTiming",1,136,136
152,"LargestContentfulPaint",1,136,136
38,"Tag",4,128,128
136,"CustomElementRegistry",1,128,128
138,"CSSRuleList",4,128,128
141,"Storage",2,128,128
13,"<body>",1,112,112
14,"Object (global)",2,32,112
121,"DOMTokenList",2,112,112
148,"HTMLCollection",1,104,104
150,"ScriptRunner",1,104,104
112,"<meta>",1,96,96
41,"(concatenated string)",2,40,88
140,"<html>",1,88,88
144,"<h1>",1,88,88
149,"Screen",1,88,88
153,"DocumentType",1,88,88
156,"VisibilityStateEntry",1,88,88
137,"MutationObserverRegistration",1,64,64
8,"Window (global) / https://example.com",1,16,56
151,"FragmentDirective",1,56,56
124,"IntersectionObserverDelegate",1,40,40
128,"NavigationActivation",1,40,40
154,"PerformanceTiming",1,40,40
157,"Pending activities",1,40,40
142,"VisualViewport",1,32,32
143,"Viewport",1,32,32
12,"HTMLBodyElement",1,16,16
97,"HTMLDocument (internal cache) / https://example.com",1,16,16
107,"MutationObserver (internal cache) / https://example.com",1,16,16
108,"HTMLBodyElement (internal cache) / https://example.com",1,16,16
`;
exports[`memory > get_nodes_by_class > with default options 1`] = `
## Heap Snapshot Data
id,name,type,distance,selfSize,retainedSize
25307,"Array",object,2,192,2056
46355,"Array",object,2,192,2056
33187,"Array",object,2,192,1664
36255,"Array",object,2,192,1664
45901,"Array",object,5,88,88
46151,"Array",object,5,88,88
45899,"Array",object,5,56,56
46149,"Array",object,5,56,56
Showing 1-8 of 8 (Page 1 of 1).
`;
exports[`memory > load_memory_snapshot > 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
}
`;