@paulirish/trace_engine 0.0.4 → 0.0.5

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.
package/README.md CHANGED
@@ -28,6 +28,9 @@ See the included `analyze-trace.mjs` a runnable invocation.
28
28
  front_end/models/trace/build-trace-engine-lib.sh
29
29
 
30
30
  front_end/models/trace/copy-build-trace-engine-for-publish.sh
31
+
32
+ node out/Typed/../../third_party/typescript/../../node_modules/typescript/bin/tsc -p out/Typed/gen/front_end/models/trace/trace-tsconfig.json # this then has js/map/d.ts. should be able to use for typs
33
+
31
34
  ```
32
35
 
33
36
  ## High level architecture
package/meta.json CHANGED
@@ -130,7 +130,7 @@
130
130
  ]
131
131
  },
132
132
  "front_end/models/trace/types/Configuration.ts": {
133
- "bytes": 1066,
133
+ "bytes": 1797,
134
134
  "imports": []
135
135
  },
136
136
  "front_end/models/trace/types/File.ts": {
@@ -138,11 +138,11 @@
138
138
  "imports": []
139
139
  },
140
140
  "front_end/models/trace/types/Timing.ts": {
141
- "bytes": 1065,
141
+ "bytes": 1176,
142
142
  "imports": []
143
143
  },
144
144
  "front_end/models/trace/types/TraceEvents.ts": {
145
- "bytes": 47296,
145
+ "bytes": 47820,
146
146
  "imports": []
147
147
  },
148
148
  "front_end/models/trace/types/types.ts": {
@@ -187,8 +187,17 @@
187
187
  }
188
188
  ]
189
189
  },
190
+ "front_end/models/trace/handlers/AuctionWorkletsHandler.ts": {
191
+ "bytes": 7012,
192
+ "imports": [
193
+ {
194
+ "path": "front_end/models/trace/types/types.ts",
195
+ "kind": "import-statement"
196
+ }
197
+ ]
198
+ },
190
199
  "front_end/models/trace/handlers/MetaHandler.ts": {
191
- "bytes": 15712,
200
+ "bytes": 16355,
192
201
  "imports": [
193
202
  {
194
203
  "path": "front_end/core/platform/platform.ts",
@@ -205,8 +214,12 @@
205
214
  ]
206
215
  },
207
216
  "front_end/models/trace/helpers/Trace.ts": {
208
- "bytes": 4913,
217
+ "bytes": 5489,
209
218
  "imports": [
219
+ {
220
+ "path": "front_end/models/trace/types/types.ts",
221
+ "kind": "import-statement"
222
+ },
210
223
  {
211
224
  "path": "front_end/core/platform/platform.ts",
212
225
  "kind": "import-statement"
@@ -214,7 +227,7 @@
214
227
  ]
215
228
  },
216
229
  "front_end/models/trace/helpers/Timing.ts": {
217
- "bytes": 8073,
230
+ "bytes": 8686,
218
231
  "imports": [
219
232
  {
220
233
  "path": "front_end/core/platform/platform.ts",
@@ -231,7 +244,7 @@
231
244
  ]
232
245
  },
233
246
  "front_end/models/trace/helpers/SamplesIntegrator.ts": {
234
- "bytes": 17885,
247
+ "bytes": 18690,
235
248
  "imports": [
236
249
  {
237
250
  "path": "front_end/models/trace/types/types.ts",
@@ -247,8 +260,17 @@
247
260
  }
248
261
  ]
249
262
  },
263
+ "front_end/models/trace/helpers/TreeHelpers.ts": {
264
+ "bytes": 8436,
265
+ "imports": [
266
+ {
267
+ "path": "front_end/models/trace/types/types.ts",
268
+ "kind": "import-statement"
269
+ }
270
+ ]
271
+ },
250
272
  "front_end/models/trace/helpers/helpers.ts": {
251
- "bytes": 303,
273
+ "bytes": 352,
252
274
  "imports": [
253
275
  {
254
276
  "path": "front_end/models/trace/helpers/SamplesIntegrator.ts",
@@ -261,6 +283,10 @@
261
283
  {
262
284
  "path": "front_end/models/trace/helpers/Trace.ts",
263
285
  "kind": "import-statement"
286
+ },
287
+ {
288
+ "path": "front_end/models/trace/helpers/TreeHelpers.ts",
289
+ "kind": "import-statement"
264
290
  }
265
291
  ]
266
292
  },
@@ -286,7 +312,7 @@
286
312
  ]
287
313
  },
288
314
  "front_end/models/trace/handlers/PageLoadMetricsHandler.ts": {
289
- "bytes": 19990,
315
+ "bytes": 19538,
290
316
  "imports": [
291
317
  {
292
318
  "path": "front_end/core/platform/platform.ts",
@@ -307,18 +333,14 @@
307
333
  ]
308
334
  },
309
335
  "front_end/models/trace/handlers/ScreenshotsHandler.ts": {
310
- "bytes": 1531,
336
+ "bytes": 1480,
311
337
  "imports": [
312
- {
313
- "path": "front_end/models/trace/handlers/MetaHandler.ts",
314
- "kind": "import-statement"
315
- },
316
338
  {
317
339
  "path": "front_end/models/trace/helpers/helpers.ts",
318
340
  "kind": "import-statement"
319
341
  },
320
342
  {
321
- "path": "front_end/models/trace/types/types.ts",
343
+ "path": "front_end/models/trace/handlers/MetaHandler.ts",
322
344
  "kind": "import-statement"
323
345
  }
324
346
  ]
@@ -463,12 +485,16 @@
463
485
  ]
464
486
  },
465
487
  "front_end/models/trace/handlers/Migration.ts": {
466
- "bytes": 1983,
488
+ "bytes": 2065,
467
489
  "imports": [
468
490
  {
469
491
  "path": "front_end/models/trace/handlers/AnimationHandler.ts",
470
492
  "kind": "import-statement"
471
493
  },
494
+ {
495
+ "path": "front_end/models/trace/handlers/AuctionWorkletsHandler.ts",
496
+ "kind": "import-statement"
497
+ },
472
498
  {
473
499
  "path": "front_end/models/trace/handlers/GPUHandler.ts",
474
500
  "kind": "import-statement"
@@ -511,15 +537,6 @@
511
537
  }
512
538
  ]
513
539
  },
514
- "front_end/models/trace/handlers/AuctionWorkletsHandler.ts": {
515
- "bytes": 7012,
516
- "imports": [
517
- {
518
- "path": "front_end/models/trace/types/types.ts",
519
- "kind": "import-statement"
520
- }
521
- ]
522
- },
523
540
  "front_end/models/trace/handlers/LargestImagePaintHandler.ts": {
524
541
  "bytes": 1736,
525
542
  "imports": [
@@ -569,7 +586,7 @@
569
586
  ]
570
587
  },
571
588
  "front_end/models/trace/handlers/SamplesHandler.ts": {
572
- "bytes": 8996,
589
+ "bytes": 12071,
573
590
  "imports": [
574
591
  {
575
592
  "path": "front_end/core/platform/platform.ts",
@@ -594,7 +611,7 @@
594
611
  ]
595
612
  },
596
613
  "front_end/models/trace/handlers/RendererHandler.ts": {
597
- "bytes": 20659,
614
+ "bytes": 16021,
598
615
  "imports": [
599
616
  {
600
617
  "path": "front_end/core/platform/platform.ts",
@@ -608,6 +625,10 @@
608
625
  "path": "front_end/models/trace/types/types.ts",
609
626
  "kind": "import-statement"
610
627
  },
628
+ {
629
+ "path": "front_end/models/trace/handlers/AuctionWorkletsHandler.ts",
630
+ "kind": "import-statement"
631
+ },
611
632
  {
612
633
  "path": "front_end/models/trace/handlers/MetaHandler.ts",
613
634
  "kind": "import-statement"
@@ -695,8 +716,12 @@
695
716
  }
696
717
  ]
697
718
  },
719
+ "front_end/models/trace/handlers/Threads.ts": {
720
+ "bytes": 3880,
721
+ "imports": []
722
+ },
698
723
  "front_end/models/trace/handlers/handlers.ts": {
699
- "bytes": 301,
724
+ "bytes": 342,
700
725
  "imports": [
701
726
  {
702
727
  "path": "front_end/models/trace/handlers/Migration.ts",
@@ -706,6 +731,10 @@
706
731
  "path": "front_end/models/trace/handlers/ModelHandlers.ts",
707
732
  "kind": "import-statement"
708
733
  },
734
+ {
735
+ "path": "front_end/models/trace/handlers/Threads.ts",
736
+ "kind": "import-statement"
737
+ },
709
738
  {
710
739
  "path": "front_end/models/trace/handlers/types.ts",
711
740
  "kind": "import-statement"
@@ -739,7 +768,7 @@
739
768
  ]
740
769
  },
741
770
  "front_end/models/trace/ModelImpl.ts": {
742
- "bytes": 9537,
771
+ "bytes": 9587,
743
772
  "imports": [
744
773
  {
745
774
  "path": "front_end/core/platform/platform.ts",
@@ -764,7 +793,7 @@
764
793
  ]
765
794
  },
766
795
  "front_end/models/trace/TreeManipulator.ts": {
767
- "bytes": 7398,
796
+ "bytes": 7382,
768
797
  "imports": [
769
798
  {
770
799
  "path": "front_end/core/platform/platform.ts",
@@ -811,7 +840,7 @@
811
840
  "imports": [],
812
841
  "exports": [],
813
842
  "inputs": {},
814
- "bytes": 434352
843
+ "bytes": 452118
815
844
  },
816
845
  "out/Default/gen/trace_engine/trace.mjs": {
817
846
  "imports": [],
@@ -832,10 +861,10 @@
832
861
  "bytesInOutput": 101
833
862
  },
834
863
  "front_end/models/trace/handlers/handlers.ts": {
835
- "bytesInOutput": 174
864
+ "bytesInOutput": 208
836
865
  },
837
866
  "front_end/models/trace/handlers/Migration.ts": {
838
- "bytesInOutput": 608
867
+ "bytesInOutput": 659
839
868
  },
840
869
  "front_end/models/trace/handlers/AnimationHandler.ts": {
841
870
  "bytesInOutput": 2735
@@ -859,7 +888,7 @@
859
888
  "bytesInOutput": 202
860
889
  },
861
890
  "front_end/models/trace/types/Configuration.ts": {
862
- "bytesInOutput": 291
891
+ "bytesInOutput": 581
863
892
  },
864
893
  "front_end/models/trace/types/File.ts": {
865
894
  "bytesInOutput": 270
@@ -868,11 +897,14 @@
868
897
  "bytesInOutput": 638
869
898
  },
870
899
  "front_end/models/trace/types/TraceEvents.ts": {
871
- "bytesInOutput": 23532
900
+ "bytesInOutput": 23714
872
901
  },
873
902
  "front_end/models/trace/handlers/types.ts": {
874
903
  "bytesInOutput": 397
875
904
  },
905
+ "front_end/models/trace/handlers/AuctionWorkletsHandler.ts": {
906
+ "bytesInOutput": 3319
907
+ },
876
908
  "front_end/models/trace/handlers/GPUHandler.ts": {
877
909
  "bytesInOutput": 1623
878
910
  },
@@ -880,25 +912,28 @@
880
912
  "bytesInOutput": 9054
881
913
  },
882
914
  "front_end/models/trace/helpers/helpers.ts": {
883
- "bytesInOutput": 174
915
+ "bytesInOutput": 216
884
916
  },
885
917
  "front_end/models/trace/helpers/SamplesIntegrator.ts": {
886
- "bytesInOutput": 8645
918
+ "bytesInOutput": 8756
887
919
  },
888
920
  "front_end/models/trace/helpers/Timing.ts": {
889
- "bytesInOutput": 6177
921
+ "bytesInOutput": 6819
890
922
  },
891
923
  "front_end/models/trace/helpers/Trace.ts": {
892
- "bytesInOutput": 3224
924
+ "bytesInOutput": 3593
925
+ },
926
+ "front_end/models/trace/helpers/TreeHelpers.ts": {
927
+ "bytesInOutput": 3478
893
928
  },
894
929
  "front_end/models/trace/handlers/LayoutShiftsHandler.ts": {
895
930
  "bytesInOutput": 10663
896
931
  },
897
932
  "front_end/models/trace/handlers/PageLoadMetricsHandler.ts": {
898
- "bytesInOutput": 15090
933
+ "bytesInOutput": 14866
899
934
  },
900
935
  "front_end/models/trace/handlers/ScreenshotsHandler.ts": {
901
- "bytesInOutput": 951
936
+ "bytesInOutput": 893
902
937
  },
903
938
  "front_end/models/trace/handlers/MemoryHandler.ts": {
904
939
  "bytesInOutput": 670
@@ -907,10 +942,10 @@
907
942
  "bytesInOutput": 11039
908
943
  },
909
944
  "front_end/models/trace/handlers/UserInteractionsHandler.ts": {
910
- "bytesInOutput": 4867
945
+ "bytesInOutput": 4873
911
946
  },
912
947
  "front_end/models/trace/handlers/UserTimingsHandler.ts": {
913
- "bytesInOutput": 4077
948
+ "bytesInOutput": 4079
914
949
  },
915
950
  "front_end/models/trace/handlers/WarningsHandler.ts": {
916
951
  "bytesInOutput": 2301
@@ -921,9 +956,6 @@
921
956
  "front_end/models/trace/handlers/ModelHandlers.ts": {
922
957
  "bytesInOutput": 889
923
958
  },
924
- "front_end/models/trace/handlers/AuctionWorkletsHandler.ts": {
925
- "bytesInOutput": 3327
926
- },
927
959
  "front_end/models/trace/handlers/LargestImagePaintHandler.ts": {
928
960
  "bytesInOutput": 558
929
961
  },
@@ -931,10 +963,10 @@
931
963
  "bytesInOutput": 571
932
964
  },
933
965
  "front_end/models/trace/handlers/RendererHandler.ts": {
934
- "bytesInOutput": 10283
966
+ "bytesInOutput": 8247
935
967
  },
936
968
  "front_end/models/trace/handlers/SamplesHandler.ts": {
937
- "bytesInOutput": 6110
969
+ "bytesInOutput": 7339
938
970
  },
939
971
  "front_end/models/cpu_profile/CPUProfileDataModel.ts": {
940
972
  "bytesInOutput": 13325
@@ -942,11 +974,14 @@
942
974
  "front_end/models/cpu_profile/ProfileTreeModel.ts": {
943
975
  "bytesInOutput": 2035
944
976
  },
977
+ "front_end/models/trace/handlers/Threads.ts": {
978
+ "bytesInOutput": 2318
979
+ },
945
980
  "front_end/models/trace/LegacyTracingModel.ts": {
946
981
  "bytesInOutput": 21338
947
982
  },
948
983
  "front_end/models/trace/ModelImpl.ts": {
949
- "bytesInOutput": 4034
984
+ "bytesInOutput": 4050
950
985
  },
951
986
  "front_end/models/trace/Processor.ts": {
952
987
  "bytesInOutput": 6084
@@ -955,7 +990,7 @@
955
990
  "bytesInOutput": 2678
956
991
  }
957
992
  },
958
- "bytes": 192726
993
+ "bytes": 199267
959
994
  }
960
995
  }
961
996
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paulirish/trace_engine",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "",
5
5
  "main": "trace.mjs",
6
6
  "scripts": {