@node-projects/speedscope 0.0.0-stage → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,332 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "definitions": {
4
+ "CloseFrameEvent": {
5
+ "properties": {
6
+ "at": {
7
+ "title": "at",
8
+ "type": "number"
9
+ },
10
+ "frame": {
11
+ "title": "frame",
12
+ "type": "number"
13
+ },
14
+ "type": {
15
+ "const": "C",
16
+ "title": "type",
17
+ "type": "string"
18
+ }
19
+ },
20
+ "required": [
21
+ "at",
22
+ "frame",
23
+ "type"
24
+ ],
25
+ "title": "CloseFrameEvent",
26
+ "type": "object"
27
+ },
28
+ "FileFormat.EventType": {
29
+ "enum": [
30
+ "O",
31
+ "C"
32
+ ],
33
+ "title": "FileFormat.EventType",
34
+ "type": "string"
35
+ },
36
+ "FileFormat.EventedProfile": {
37
+ "properties": {
38
+ "endValue": {
39
+ "title": "endValue",
40
+ "type": "number"
41
+ },
42
+ "events": {
43
+ "items": {
44
+ "anyOf": [
45
+ {
46
+ "$ref": "#/definitions/OpenFrameEvent"
47
+ },
48
+ {
49
+ "$ref": "#/definitions/CloseFrameEvent"
50
+ }
51
+ ]
52
+ },
53
+ "title": "events",
54
+ "type": "array"
55
+ },
56
+ "isChronological": {
57
+ "title": "isChronological",
58
+ "type": "boolean"
59
+ },
60
+ "isDerived": {
61
+ "title": "isDerived",
62
+ "type": "boolean"
63
+ },
64
+ "name": {
65
+ "title": "name",
66
+ "type": "string"
67
+ },
68
+ "startValue": {
69
+ "title": "startValue",
70
+ "type": "number"
71
+ },
72
+ "type": {
73
+ "const": "evented",
74
+ "title": "type",
75
+ "type": "string"
76
+ },
77
+ "unit": {
78
+ "$ref": "#/definitions/FileFormat.ValueUnit",
79
+ "title": "unit"
80
+ }
81
+ },
82
+ "required": [
83
+ "endValue",
84
+ "events",
85
+ "name",
86
+ "startValue",
87
+ "type",
88
+ "unit"
89
+ ],
90
+ "title": "FileFormat.EventedProfile",
91
+ "type": "object"
92
+ },
93
+ "FileFormat.File": {
94
+ "properties": {
95
+ "$schema": {
96
+ "const": "https://www.speedscope.app/file-format-schema.json",
97
+ "title": "$schema",
98
+ "type": "string"
99
+ },
100
+ "activeProfileIndex": {
101
+ "title": "activeProfileIndex",
102
+ "type": "number"
103
+ },
104
+ "exporter": {
105
+ "title": "exporter",
106
+ "type": "string"
107
+ },
108
+ "name": {
109
+ "title": "name",
110
+ "type": "string"
111
+ },
112
+ "profiles": {
113
+ "items": {
114
+ "$ref": "#/definitions/FileFormat.Profile"
115
+ },
116
+ "title": "profiles",
117
+ "type": "array"
118
+ },
119
+ "shared": {
120
+ "properties": {
121
+ "frames": {
122
+ "items": {
123
+ "$ref": "#/definitions/FileFormat.Frame"
124
+ },
125
+ "title": "frames",
126
+ "type": "array"
127
+ }
128
+ },
129
+ "required": [
130
+ "frames"
131
+ ],
132
+ "title": "shared",
133
+ "type": "object"
134
+ }
135
+ },
136
+ "required": [
137
+ "$schema",
138
+ "profiles",
139
+ "shared"
140
+ ],
141
+ "title": "FileFormat.File",
142
+ "type": "object"
143
+ },
144
+ "FileFormat.Frame": {
145
+ "properties": {
146
+ "col": {
147
+ "title": "col",
148
+ "type": "number"
149
+ },
150
+ "file": {
151
+ "title": "file",
152
+ "type": "string"
153
+ },
154
+ "line": {
155
+ "title": "line",
156
+ "type": "number"
157
+ },
158
+ "name": {
159
+ "title": "name",
160
+ "type": "string"
161
+ }
162
+ },
163
+ "required": [
164
+ "name"
165
+ ],
166
+ "title": "FileFormat.Frame",
167
+ "type": "object"
168
+ },
169
+ "FileFormat.IProfile": {
170
+ "properties": {
171
+ "isChronological": {
172
+ "title": "isChronological",
173
+ "type": "boolean"
174
+ },
175
+ "isDerived": {
176
+ "title": "isDerived",
177
+ "type": "boolean"
178
+ },
179
+ "type": {
180
+ "$ref": "#/definitions/FileFormat.ProfileType",
181
+ "title": "type"
182
+ }
183
+ },
184
+ "required": [
185
+ "type"
186
+ ],
187
+ "title": "FileFormat.IProfile",
188
+ "type": "object"
189
+ },
190
+ "FileFormat.Profile": {
191
+ "anyOf": [
192
+ {
193
+ "$ref": "#/definitions/FileFormat.EventedProfile"
194
+ },
195
+ {
196
+ "$ref": "#/definitions/FileFormat.SampledProfile"
197
+ }
198
+ ],
199
+ "title": "FileFormat.Profile"
200
+ },
201
+ "FileFormat.ProfileType": {
202
+ "enum": [
203
+ "evented",
204
+ "sampled"
205
+ ],
206
+ "title": "FileFormat.ProfileType",
207
+ "type": "string"
208
+ },
209
+ "FileFormat.SampledProfile": {
210
+ "properties": {
211
+ "endValue": {
212
+ "title": "endValue",
213
+ "type": "number"
214
+ },
215
+ "isChronological": {
216
+ "title": "isChronological",
217
+ "type": "boolean"
218
+ },
219
+ "isDerived": {
220
+ "title": "isDerived",
221
+ "type": "boolean"
222
+ },
223
+ "name": {
224
+ "title": "name",
225
+ "type": "string"
226
+ },
227
+ "samples": {
228
+ "items": {
229
+ "items": {
230
+ "type": "number"
231
+ },
232
+ "type": "array"
233
+ },
234
+ "title": "samples",
235
+ "type": "array"
236
+ },
237
+ "startValue": {
238
+ "title": "startValue",
239
+ "type": "number"
240
+ },
241
+ "type": {
242
+ "const": "sampled",
243
+ "title": "type",
244
+ "type": "string"
245
+ },
246
+ "unit": {
247
+ "$ref": "#/definitions/FileFormat.ValueUnit",
248
+ "title": "unit"
249
+ },
250
+ "weights": {
251
+ "items": {
252
+ "type": "number"
253
+ },
254
+ "title": "weights",
255
+ "type": "array"
256
+ }
257
+ },
258
+ "required": [
259
+ "endValue",
260
+ "name",
261
+ "samples",
262
+ "startValue",
263
+ "type",
264
+ "unit",
265
+ "weights"
266
+ ],
267
+ "title": "FileFormat.SampledProfile",
268
+ "type": "object"
269
+ },
270
+ "FileFormat.ValueUnit": {
271
+ "enum": [
272
+ "bytes",
273
+ "microseconds",
274
+ "milliseconds",
275
+ "nanoseconds",
276
+ "none",
277
+ "seconds"
278
+ ],
279
+ "title": "FileFormat.ValueUnit",
280
+ "type": "string"
281
+ },
282
+ "IEvent": {
283
+ "properties": {
284
+ "at": {
285
+ "title": "at",
286
+ "type": "number"
287
+ },
288
+ "type": {
289
+ "$ref": "#/definitions/FileFormat.EventType",
290
+ "title": "type"
291
+ }
292
+ },
293
+ "required": [
294
+ "at",
295
+ "type"
296
+ ],
297
+ "title": "IEvent",
298
+ "type": "object"
299
+ },
300
+ "OpenFrameEvent": {
301
+ "properties": {
302
+ "at": {
303
+ "title": "at",
304
+ "type": "number"
305
+ },
306
+ "frame": {
307
+ "title": "frame",
308
+ "type": "number"
309
+ },
310
+ "type": {
311
+ "const": "O",
312
+ "title": "type",
313
+ "type": "string"
314
+ }
315
+ },
316
+ "required": [
317
+ "at",
318
+ "frame",
319
+ "type"
320
+ ],
321
+ "title": "OpenFrameEvent",
322
+ "type": "object"
323
+ },
324
+ "SampledStack": {
325
+ "items": {
326
+ "type": "number"
327
+ },
328
+ "type": "array"
329
+ }
330
+ },
331
+ "$ref": "#/definitions/FileFormat.File"
332
+ }
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <title>speedscope</title>
8
+ <link rel="stylesheet" href="speedscope-GHPHNKXC.css">
9
+ <link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32-3EB2YCUY.png">
10
+ <link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16-VSI62OPJ.png">
11
+ <link rel="icon" type="image/x-icon" href="favicon-FOKUP5Y5.ico">
12
+ </head>
13
+ <body>
14
+ <script src="speedscope-IT6IHU5E.js"></script>
15
+
16
+
17
+
18
+ </body>
19
+ </html>