Skip to content

Commit 5de3b36

Browse files
committed
--wip-- [skip ci]
1 parent b7a01c9 commit 5de3b36

19 files changed

+1388
-60
lines changed

metrics/arktype.heap.after.json

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"objectTypeCounts": {
3+
"string": 116051,
4+
"Function": 99724,
5+
"Array": 74625,
6+
"Structure": 70226,
7+
"Object": 61007,
8+
"FunctionExecutable": 38609,
9+
"UnlinkedFunctionExecutable": 38323,
10+
"JSLexicalEnvironment": 36478,
11+
"FunctionRareData": 17279,
12+
"FunctionCodeBlock": 16211,
13+
"UnlinkedFunctionCodeBlock": 15837,
14+
"StructureRareData": 870,
15+
"SymbolTable": 541,
16+
"NativeExecutable": 446,
17+
"InternalPromise": 355,
18+
"Immutable Butterfly": 211,
19+
"PropertyTable": 199,
20+
"RegExp": 133,
21+
"Map": 121,
22+
"JSModuleEnvironment": 117,
23+
"JSSourceCode": 117,
24+
"ModuleRecord": 117,
25+
"ModuleProgramExecutable": 116,
26+
"ModuleProgramCodeBlock": 115,
27+
"UnlinkedModuleProgramCodeBlock": 110,
28+
"GetterSetter": 109,
29+
"CustomGetterSetter": 96,
30+
"JSPropertyNameEnumerator": 75,
31+
"DOMAttributeGetterSetter": 41,
32+
"StructureChain": 27,
33+
"symbol": 20,
34+
"Callee": 3,
35+
"ArrayBuffer": 2,
36+
"AsyncFunction": 2,
37+
"AsyncGeneratorFunction": 2,
38+
"BigInt": 2,
39+
"FormData": 2,
40+
"GeneratorFunction": 2,
41+
"Generator": 2,
42+
"Headers": 2,
43+
"Performance": 2,
44+
"SparseArrayValueMap": 2,
45+
"URL": 2,
46+
"Array Iterator": 1,
47+
"AsyncGenerator": 1,
48+
"AsyncIterator": 1,
49+
"BigInt64ArrayPrototype": 1,
50+
"BigUint64ArrayPrototype": 1,
51+
"Blob": 1,
52+
"Boolean": 1,
53+
"Bun": 1,
54+
"EventEmitter": 1,
55+
"EventTarget": 1,
56+
"File": 1,
57+
"FinalizationRegistry": 1,
58+
"Float16ArrayPrototype": 1,
59+
"Float32ArrayPrototype": 1,
60+
"Float64ArrayPrototype": 1,
61+
"GlobalObject": 1,
62+
"Int16ArrayPrototype": 1,
63+
"Int32ArrayPrototype": 1,
64+
"Int8ArrayPrototype": 1,
65+
"InternalFieldTuple": 1,
66+
"InternalModuleRegistry": 1,
67+
"InternalPromisePrototype": 1,
68+
"Intl": 1,
69+
"Iterator Helper": 1,
70+
"Iterator": 1,
71+
"JSGlobalLexicalEnvironment": 1,
72+
"JSGlobalProxy": 1,
73+
"JSON": 1,
74+
"Map Iterator": 1,
75+
"Math": 1,
76+
"ModuleLoader": 1,
77+
"ModuleNamespaceObject": 1,
78+
"Number": 1,
79+
"ProcessBindingConstants": 1,
80+
"Process": 1,
81+
"Promise": 1,
82+
"Prototype": 1,
83+
"Request": 1,
84+
"Response": 1,
85+
"Set Iterator": 1,
86+
"Set": 1,
87+
"ShadowRealm": 1,
88+
"String Iterator": 1,
89+
"String": 1,
90+
"Symbol": 1,
91+
"TextEncoderStreamEncoder": 1,
92+
"Uint16ArrayPrototype": 1,
93+
"Uint32ArrayPrototype": 1,
94+
"Uint8ArrayPrototype": 1,
95+
"Uint8ClampedArrayPrototype": 1,
96+
"WeakMap": 1,
97+
"WeakRef": 1,
98+
"WeakSet": 1,
99+
"WebAssembly": 1,
100+
"console": 1
101+
},
102+
"protectedObjectTypeCounts": {
103+
"UnlinkedFunctionExecutable": 1903,
104+
"UnlinkedModuleProgramCodeBlock": 97,
105+
"GlobalObject": 1
106+
},
107+
"heapSize": 77008258,
108+
"heapCapacity": 104685746,
109+
"extraMemorySize": 26599506,
110+
"objectCount": 698315,
111+
"protectedObjectCount": 2001,
112+
"globalObjectCount": 1,
113+
"protectedGlobalObjectCount": 1
114+
}

metrics/arktype.heap.before.json

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
{
2+
"objectTypeCounts": {
3+
"string": 214279,
4+
"Array": 51489,
5+
"Function": 39309,
6+
"Object": 35013,
7+
"JSLexicalEnvironment": 33608,
8+
"ArrayIterator": 25330,
9+
"Immutable Butterfly": 10365,
10+
"Structure": 10176,
11+
"FunctionExecutable": 5716,
12+
"UnlinkedFunctionExecutable": 5290,
13+
"FunctionRareData": 4505,
14+
"PropertyTable": 2188,
15+
"SymbolTable": 1839,
16+
"InternalPromise": 1139,
17+
"FunctionCodeBlock": 1034,
18+
"StructureRareData": 892,
19+
"UnlinkedFunctionCodeBlock": 746,
20+
"NativeExecutable": 405,
21+
"Generator": 337,
22+
"AsyncFunction": 335,
23+
"RegExp": 229,
24+
"Map": 121,
25+
"Callee": 117,
26+
"JSModuleEnvironment": 117,
27+
"JSSourceCode": 117,
28+
"ModuleRecord": 117,
29+
"ModuleProgramExecutable": 116,
30+
"ModuleProgramCodeBlock": 115,
31+
"UnlinkedModuleProgramCodeBlock": 110,
32+
"GetterSetter": 109,
33+
"CustomGetterSetter": 96,
34+
"JSPropertyNameEnumerator": 68,
35+
"DOMAttributeGetterSetter": 41,
36+
"StructureChain": 26,
37+
"symbol": 20,
38+
"Set": 3,
39+
"ArrayBuffer": 2,
40+
"AsyncGeneratorFunction": 2,
41+
"BigInt": 2,
42+
"FormData": 2,
43+
"GeneratorFunction": 2,
44+
"Headers": 2,
45+
"Performance": 2,
46+
"URL": 2,
47+
"Array Iterator": 1,
48+
"AsyncGenerator": 1,
49+
"AsyncIterator": 1,
50+
"BigInt64ArrayPrototype": 1,
51+
"BigUint64ArrayPrototype": 1,
52+
"Blob": 1,
53+
"Boolean": 1,
54+
"Bun": 1,
55+
"Error": 1,
56+
"EventEmitter": 1,
57+
"EventTarget": 1,
58+
"File": 1,
59+
"FinalizationRegistry": 1,
60+
"Float16ArrayPrototype": 1,
61+
"Float32ArrayPrototype": 1,
62+
"Float64ArrayPrototype": 1,
63+
"GlobalObject": 1,
64+
"Int16ArrayPrototype": 1,
65+
"Int32ArrayPrototype": 1,
66+
"Int8ArrayPrototype": 1,
67+
"InternalFieldTuple": 1,
68+
"InternalModuleRegistry": 1,
69+
"InternalPromisePrototype": 1,
70+
"Intl": 1,
71+
"Iterator Helper": 1,
72+
"Iterator": 1,
73+
"JSGlobalLexicalEnvironment": 1,
74+
"JSGlobalProxy": 1,
75+
"JSON": 1,
76+
"Map Iterator": 1,
77+
"ModuleLoader": 1,
78+
"ModuleNamespaceObject": 1,
79+
"Number": 1,
80+
"ProcessBindingConstants": 1,
81+
"Process": 1,
82+
"Promise": 1,
83+
"Prototype": 1,
84+
"Request": 1,
85+
"Response": 1,
86+
"Set Iterator": 1,
87+
"ShadowRealm": 1,
88+
"SparseArrayValueMap": 1,
89+
"String Iterator": 1,
90+
"String": 1,
91+
"Symbol": 1,
92+
"TextEncoderStreamEncoder": 1,
93+
"Uint16ArrayPrototype": 1,
94+
"Uint32ArrayPrototype": 1,
95+
"Uint8ArrayPrototype": 1,
96+
"Uint8ClampedArrayPrototype": 1,
97+
"WeakMap": 1,
98+
"WeakRef": 1,
99+
"WeakSet": 1,
100+
"WebAssembly": 1,
101+
"console": 1
102+
},
103+
"protectedObjectTypeCounts": {
104+
"UnlinkedModuleProgramCodeBlock": 110,
105+
"UnlinkedFunctionExecutable": 96,
106+
"GlobalObject": 1
107+
},
108+
"heapSize": 238877,
109+
"heapCapacity": 23103309,
110+
"extraMemorySize": 40589,
111+
"objectCount": 2941,
112+
"protectedObjectCount": 207,
113+
"globalObjectCount": 1,
114+
"protectedGlobalObjectCount": 1
115+
}

metrics/suretype.heap.after.json

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"objectTypeCounts": {
3+
"string": 5198,
4+
"Function": 3184,
5+
"Structure": 3145,
6+
"FunctionExecutable": 2388,
7+
"UnlinkedFunctionExecutable": 2088,
8+
"NativeExecutable": 788,
9+
"FunctionCodeBlock": 733,
10+
"Object": 568,
11+
"SymbolTable": 554,
12+
"UnlinkedFunctionCodeBlock": 511,
13+
"JSLexicalEnvironment": 344,
14+
"StructureRareData": 331,
15+
"InternalPromise": 305,
16+
"RegExp": 301,
17+
"GetterSetter": 275,
18+
"Immutable Butterfly": 224,
19+
"Array": 222,
20+
"FunctionRareData": 221,
21+
"PropertyTable": 190,
22+
"CustomGetterSetter": 138,
23+
"Map": 110,
24+
"JSModuleEnvironment": 102,
25+
"JSSourceCode": 102,
26+
"ModuleRecord": 102,
27+
"symbol": 90,
28+
"ModuleProgramExecutable": 86,
29+
"ModuleProgramCodeBlock": 85,
30+
"UnlinkedModuleProgramCodeBlock": 85,
31+
"StructureChain": 78,
32+
"AsyncFunction": 69,
33+
"Module": 57,
34+
"UnlinkedProgramCodeBlock": 53,
35+
"ProgramCodeBlock": 51,
36+
"ProgramExecutable": 51,
37+
"JSPropertyNameEnumerator": 37,
38+
"SparseArrayValueMap": 37,
39+
"DOMAttributeGetterSetter": 34,
40+
"Set": 9,
41+
"Promise": 7,
42+
"ModuleNamespaceObject": 5,
43+
"FileSink": 4,
44+
"GeneratorFunction": 4,
45+
"Arguments": 3,
46+
"Callee": 3,
47+
"Generator": 3,
48+
"JSAsyncGeneratorFunction": 3,
49+
"ReadableStream": 3,
50+
"ArrayBuffer": 2,
51+
"AsyncGeneratorFunction": 2,
52+
"BigInt": 2,
53+
"Blob": 2,
54+
"FileInternalReadableStreamSource": 2,
55+
"ImportMeta": 2,
56+
"NodeJSFS": 2,
57+
"Performance": 2,
58+
"StringDecoder": 2,
59+
"TextEncoder": 2,
60+
"URLSearchParams": 2,
61+
"URL": 2,
62+
"WeakMap": 2,
63+
"WeakSet": 2,
64+
"Array Iterator": 1,
65+
"AsyncGenerator": 1,
66+
"AsyncIterator": 1,
67+
"BigInt64ArrayPrototype": 1,
68+
"BigUint64ArrayPrototype": 1,
69+
"Boolean": 1,
70+
"Buffer": 1,
71+
"Bun": 1,
72+
"Dirent": 1,
73+
"EventEmitter": 1,
74+
"EventTarget": 1,
75+
"File": 1,
76+
"FinalizationRegistry": 1,
77+
"Float16ArrayPrototype": 1,
78+
"Float32ArrayPrototype": 1,
79+
"Float64ArrayPrototype": 1,
80+
"GlobalObject": 1,
81+
"Int16ArrayPrototype": 1,
82+
"Int32ArrayPrototype": 1,
83+
"Int8ArrayPrototype": 1,
84+
"InternalFieldTuple": 1,
85+
"InternalModuleRegistry": 1,
86+
"InternalPromisePrototype": 1,
87+
"Intl": 1,
88+
"Iterator Helper": 1,
89+
"Iterator": 1,
90+
"JSGlobalLexicalEnvironment": 1,
91+
"JSGlobalProxy": 1,
92+
"JSON": 1,
93+
"Map Iterator": 1,
94+
"Math": 1,
95+
"ModuleLoader": 1,
96+
"ModulePrototype": 1,
97+
"NextTickQueue": 1,
98+
"Number": 1,
99+
"ProcessBindingConstants": 1,
100+
"Process": 1,
101+
"Prototype": 1,
102+
"ProxyObject": 1,
103+
"Proxy": 1,
104+
"Reflect": 1,
105+
"Set Iterator": 1,
106+
"ShadowRealm": 1,
107+
"Stats": 1,
108+
"String Iterator": 1,
109+
"String": 1,
110+
"Symbol": 1,
111+
"TextDecoder": 1,
112+
"TextEncoderStreamEncoder": 1,
113+
"Uint16ArrayPrototype": 1,
114+
"Uint32ArrayPrototype": 1,
115+
"Uint8ArrayPrototype": 1,
116+
"Uint8Array": 1,
117+
"Uint8ClampedArrayPrototype": 1,
118+
"WeakRef": 1,
119+
"WebAssembly": 1,
120+
"console": 1,
121+
"require": 1,
122+
"resolve": 1
123+
},
124+
"protectedObjectTypeCounts": {
125+
"UnlinkedModuleProgramCodeBlock": 85,
126+
"UnlinkedProgramCodeBlock": 53,
127+
"UnlinkedFunctionExecutable": 5,
128+
"GlobalObject": 1
129+
},
130+
"heapSize": 4831195,
131+
"heapCapacity": 7239291,
132+
"extraMemorySize": 2868747,
133+
"objectCount": 24936,
134+
"protectedObjectCount": 144,
135+
"globalObjectCount": 1,
136+
"protectedGlobalObjectCount": 1
137+
}

0 commit comments

Comments
 (0)