@paulirish/trace_engine 0.0.65 → 0.0.66
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/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +1 -1
- package/core/platform/ArrayUtilities.d.ts +5 -0
- package/core/platform/ArrayUtilities.js +14 -0
- package/core/platform/ArrayUtilities.js.map +1 -1
- package/core/platform/HostRuntime.d.ts +1 -0
- package/core/platform/HostRuntime.js +1 -1
- package/core/platform/HostRuntime.js.map +1 -1
- package/core/platform/KeyboardUtilities.js +12 -0
- package/core/platform/KeyboardUtilities.js.map +1 -1
- package/core/platform/MimeType.js +13 -0
- package/core/platform/MimeType.js.map +1 -1
- package/core/platform/Size.d.ts +12 -0
- package/core/platform/Size.js +36 -0
- package/core/platform/Size.js.map +1 -0
- package/core/platform/StringUtilities.d.ts +49 -0
- package/core/platform/StringUtilities.js +141 -4
- package/core/platform/StringUtilities.js.map +1 -1
- package/core/platform/TypescriptUtilities.d.ts +0 -6
- package/core/platform/TypescriptUtilities.js +0 -8
- package/core/platform/TypescriptUtilities.js.map +1 -1
- package/core/platform/api/HostRuntime.d.ts +25 -0
- package/core/platform/api/HostRuntime.js.map +1 -1
- package/core/platform/api/api-tsconfig.json +26 -11
- package/core/platform/api/api-tsconfig.ref.json +26 -0
- package/core/platform/browser/HostRuntime.js +90 -0
- package/core/platform/browser/HostRuntime.js.map +1 -1
- package/core/platform/browser/browser-tsconfig.json +22 -11
- package/core/platform/browser/browser-tsconfig.ref.json +27 -0
- package/core/platform/browser/bundle-tsconfig.json +59 -1
- package/core/platform/browser/bundle-tsconfig.ref.json +27 -0
- package/core/platform/bundle-tsconfig.json +59 -1
- package/core/platform/bundle-tsconfig.ref.json +27 -0
- package/core/platform/foundation_unittests-tsconfig.json +73 -0
- package/core/platform/foundation_unittests-tsconfig.ref.json +40 -0
- package/core/platform/foundation_unittests_node_typecheck-tsconfig.json +70 -0
- package/core/platform/node/HostRuntime.js +47 -2
- package/core/platform/node/HostRuntime.js.map +1 -1
- package/core/platform/node/bundle-tsconfig.json +59 -1
- package/core/platform/node/bundle-tsconfig.ref.json +27 -0
- package/core/platform/node/node-tsconfig.json +16 -9
- package/core/platform/node/node-tsconfig.ref.json +27 -0
- package/core/platform/platform-tsconfig.json +25 -13
- package/core/platform/platform-tsconfig.ref.json +49 -0
- package/core/platform/platform.d.ts +2 -1
- package/core/platform/platform.js +2 -1
- package/core/platform/platform.js.map +1 -1
- package/core/platform/platform_node_typecheck-tsconfig.json +18 -14
- package/core/platform/platform_node_typecheck.stamp +0 -0
- package/generated/protocol.d.ts +782 -685
- package/generated/protocol.js +3300 -1
- package/locales/af.json +154 -133
- package/locales/am.json +156 -135
- package/locales/ar.json +157 -136
- package/locales/as.json +156 -135
- package/locales/az.json +156 -135
- package/locales/be.json +153 -132
- package/locales/bg.json +154 -133
- package/locales/bn.json +156 -135
- package/locales/bs.json +152 -131
- package/locales/ca.json +157 -136
- package/locales/cs.json +148 -127
- package/locales/cy.json +155 -134
- package/locales/da.json +153 -132
- package/locales/de.json +152 -131
- package/locales/el.json +153 -132
- package/locales/en-GB.json +160 -139
- package/locales/en-US.json +153 -141
- package/locales/en-XL.json +153 -141
- package/locales/es-419.json +150 -129
- package/locales/es.json +149 -128
- package/locales/et.json +124 -103
- package/locales/eu.json +151 -130
- package/locales/fa.json +155 -134
- package/locales/fi.json +151 -130
- package/locales/fil.json +154 -133
- package/locales/fr-CA.json +154 -133
- package/locales/fr.json +150 -129
- package/locales/gl.json +153 -132
- package/locales/gu.json +156 -135
- package/locales/he.json +160 -139
- package/locales/hi.json +156 -135
- package/locales/hr.json +154 -133
- package/locales/hu.json +111 -90
- package/locales/hy.json +147 -126
- package/locales/id.json +153 -132
- package/locales/is.json +149 -128
- package/locales/it.json +153 -132
- package/locales/ja.json +150 -129
- package/locales/ka.json +159 -138
- package/locales/kk.json +62 -41
- package/locales/km.json +157 -136
- package/locales/kn.json +159 -138
- package/locales/ko.json +42 -21
- package/locales/ky.json +155 -134
- package/locales/lo.json +154 -133
- package/locales/lt.json +152 -131
- package/locales/lv.json +93 -72
- package/locales/mk.json +154 -133
- package/locales/ml.json +153 -132
- package/locales/mn.json +150 -129
- package/locales/mr.json +152 -131
- package/locales/ms.json +153 -132
- package/locales/my.json +156 -135
- package/locales/ne.json +152 -131
- package/locales/nl.json +149 -128
- package/locales/no.json +152 -131
- package/locales/or.json +152 -131
- package/locales/pa.json +154 -133
- package/locales/pl.json +153 -132
- package/locales/pt-PT.json +152 -131
- package/locales/pt.json +157 -136
- package/locales/ro.json +149 -128
- package/locales/ru.json +73 -52
- package/locales/si.json +156 -135
- package/locales/sk.json +153 -132
- package/locales/sl.json +149 -128
- package/locales/sq.json +150 -129
- package/locales/sr-Latn.json +151 -130
- package/locales/sr.json +151 -130
- package/locales/sv.json +152 -131
- package/locales/sw.json +160 -139
- package/locales/ta.json +156 -135
- package/locales/te.json +157 -136
- package/locales/th.json +111 -90
- package/locales/tr.json +153 -132
- package/locales/uk.json +149 -128
- package/locales/ur.json +151 -130
- package/locales/uz.json +151 -130
- package/locales/vi.json +162 -141
- package/locales/zh-HK.json +150 -129
- package/locales/zh-TW.json +154 -133
- package/locales/zh.json +152 -131
- package/locales/zu.json +159 -138
- package/models/cpu_profile/bundle-tsconfig.json +59 -1
- package/models/cpu_profile/bundle-tsconfig.ref.json +27 -0
- package/models/cpu_profile/cpu_profile-tsconfig.json +24 -13
- package/models/cpu_profile/cpu_profile-tsconfig.ref.json +31 -0
- package/models/cpu_profile/cpu_profile_node_typecheck-tsconfig.json +60 -0
- package/models/cpu_profile/cpu_profile_node_typecheck.stamp +0 -0
- package/models/{trace/devtools_entrypoint-bundle-typescript-tsconfig.json → cpu_profile/foundation_unittests-tsconfig.json} +27 -30
- package/models/cpu_profile/foundation_unittests-tsconfig.ref.json +30 -0
- package/models/cpu_profile/foundation_unittests_node_typecheck-tsconfig.json +60 -0
- package/models/trace/EntityMapper.js +1 -1
- package/models/trace/EntityMapper.js.map +1 -1
- package/models/trace/LanternComputationData.js +7 -0
- package/models/trace/LanternComputationData.js.map +1 -1
- package/models/trace/ModelImpl.d.ts +1 -5
- package/models/trace/ModelImpl.js +11 -0
- package/models/trace/ModelImpl.js.map +1 -1
- package/models/trace/Name.js +5 -5
- package/models/trace/Name.js.map +1 -1
- package/models/trace/Processor.d.ts +2 -6
- package/models/trace/Processor.js +77 -15
- package/models/trace/Processor.js.map +1 -1
- package/models/trace/Styles.js +128 -116
- package/models/trace/Styles.js.map +1 -1
- package/models/trace/bundle-tsconfig.json +77 -1
- package/models/trace/bundle-tsconfig.ref.json +45 -0
- package/models/trace/extras/StackTraceForEvent.d.ts +1 -1
- package/models/trace/extras/StackTraceForEvent.js.map +1 -1
- package/models/trace/extras/ThirdParties.js +7 -7
- package/models/trace/extras/ThirdParties.js.map +1 -1
- package/models/trace/extras/TraceTree.js +2 -2
- package/models/trace/extras/TraceTree.js.map +1 -1
- package/models/trace/extras/bundle-tsconfig.json +59 -1
- package/models/trace/extras/bundle-tsconfig.ref.json +27 -0
- package/models/trace/extras/extras-tsconfig.json +28 -17
- package/models/trace/extras/extras-tsconfig.ref.json +49 -0
- package/models/trace/extras/extras_node_typecheck-tsconfig.json +78 -0
- package/models/trace/extras/extras_node_typecheck.stamp +0 -0
- package/models/trace/extras/foundation_unittests-tsconfig.json +91 -0
- package/models/trace/extras/foundation_unittests-tsconfig.ref.json +58 -0
- package/models/trace/extras/foundation_unittests_node_typecheck-tsconfig.json +88 -0
- package/models/trace/foundation_unittests-tsconfig.json +70 -0
- package/models/trace/foundation_unittests-tsconfig.ref.json +37 -0
- package/models/trace/foundation_unittests_node_typecheck-tsconfig.json +67 -0
- package/models/trace/handlers/AsyncJSCallsHandler.js.map +1 -1
- package/models/trace/handlers/ExtensionTraceDataHandler.js +1 -1
- package/models/trace/handlers/ExtensionTraceDataHandler.js.map +1 -1
- package/models/trace/handlers/FlowsHandler.js.map +1 -1
- package/models/trace/handlers/FramesHandler.d.ts +1 -2
- package/models/trace/handlers/FramesHandler.js +4 -5
- package/models/trace/handlers/FramesHandler.js.map +1 -1
- package/models/trace/handlers/LayerTreeHandler.js +3 -3
- package/models/trace/handlers/LayerTreeHandler.js.map +1 -1
- package/models/trace/handlers/LayoutShiftsHandler.d.ts +2 -2
- package/models/trace/handlers/LayoutShiftsHandler.js +17 -18
- package/models/trace/handlers/LayoutShiftsHandler.js.map +1 -1
- package/models/trace/handlers/MetaHandler.d.ts +2 -3
- package/models/trace/handlers/MetaHandler.js +38 -7
- package/models/trace/handlers/MetaHandler.js.map +1 -1
- package/models/trace/handlers/ModelHandlers.d.ts +0 -1
- package/models/trace/handlers/ModelHandlers.js +0 -1
- package/models/trace/handlers/ModelHandlers.js.map +1 -1
- package/models/trace/handlers/NetworkRequestsHandler.js +13 -11
- package/models/trace/handlers/NetworkRequestsHandler.js.map +1 -1
- package/models/trace/handlers/PageLoadMetricsHandler.d.ts +2 -0
- package/models/trace/handlers/PageLoadMetricsHandler.js +43 -4
- package/models/trace/handlers/PageLoadMetricsHandler.js.map +1 -1
- package/models/trace/handlers/RendererHandler.js +19 -20
- package/models/trace/handlers/RendererHandler.js.map +1 -1
- package/models/trace/handlers/SamplesHandler.js.map +1 -1
- package/models/trace/handlers/ScreenshotsHandler.js +1 -43
- package/models/trace/handlers/ScreenshotsHandler.js.map +1 -1
- package/models/trace/handlers/Threads.d.ts +1 -3
- package/models/trace/handlers/Threads.js +4 -8
- package/models/trace/handlers/Threads.js.map +1 -1
- package/models/trace/handlers/UserInteractionsHandler.js.map +1 -1
- package/models/trace/handlers/UserTimingsHandler.d.ts +1 -1
- package/models/trace/handlers/UserTimingsHandler.js +16 -6
- package/models/trace/handlers/UserTimingsHandler.js.map +1 -1
- package/models/trace/handlers/WarningsHandler.js.map +1 -1
- package/models/trace/handlers/bundle-tsconfig.json +59 -1
- package/models/trace/handlers/bundle-tsconfig.ref.json +27 -0
- package/models/trace/handlers/foundation_unittests-tsconfig.json +102 -0
- package/models/trace/handlers/foundation_unittests-tsconfig.ref.json +69 -0
- package/models/trace/handlers/foundation_unittests_node_typecheck-tsconfig.json +99 -0
- package/models/trace/handlers/handlers-tsconfig.json +30 -20
- package/models/trace/handlers/handlers-tsconfig.ref.json +80 -0
- package/models/trace/handlers/handlers_node_typecheck-tsconfig.json +109 -0
- package/models/trace/handlers/handlers_node_typecheck.stamp +0 -0
- package/models/trace/helpers/Network.d.ts +3 -1
- package/models/trace/helpers/Network.js.map +1 -1
- package/models/trace/helpers/SamplesIntegrator.js +22 -6
- package/models/trace/helpers/SamplesIntegrator.js.map +1 -1
- package/models/trace/helpers/SyntheticEvents.d.ts +7 -0
- package/models/trace/helpers/SyntheticEvents.js +20 -1
- package/models/trace/helpers/SyntheticEvents.js.map +1 -1
- package/models/trace/helpers/Timing.js +14 -1
- package/models/trace/helpers/Timing.js.map +1 -1
- package/models/trace/helpers/Trace.js.map +1 -1
- package/models/trace/helpers/bundle-tsconfig.json +59 -1
- package/models/trace/helpers/bundle-tsconfig.ref.json +27 -0
- package/models/trace/helpers/foundation_unittests-tsconfig.json +73 -0
- package/models/trace/helpers/foundation_unittests-tsconfig.ref.json +40 -0
- package/models/trace/helpers/foundation_unittests_node_typecheck-tsconfig.json +70 -0
- package/models/trace/helpers/helpers-tsconfig.json +27 -19
- package/models/trace/helpers/helpers-tsconfig.ref.json +45 -0
- package/models/trace/helpers/helpers_node_typecheck-tsconfig.json +74 -0
- package/models/trace/helpers/helpers_node_typecheck.stamp +0 -0
- package/models/trace/insights/CLSCulprits.d.ts +18 -15
- package/models/trace/insights/CLSCulprits.js +7 -6
- package/models/trace/insights/CLSCulprits.js.map +1 -1
- package/models/trace/insights/Cache.d.ts +8 -7
- package/models/trace/insights/Cache.js.map +1 -1
- package/models/trace/insights/CharacterSet.d.ts +10 -9
- package/models/trace/insights/CharacterSet.js +4 -4
- package/models/trace/insights/CharacterSet.js.map +1 -1
- package/models/trace/insights/Common.js +21 -3
- package/models/trace/insights/Common.js.map +1 -1
- package/models/trace/insights/DOMSize.d.ts +15 -14
- package/models/trace/insights/DOMSize.js +2 -2
- package/models/trace/insights/DOMSize.js.map +1 -1
- package/models/trace/insights/DocumentLatency.d.ts +13 -12
- package/models/trace/insights/DocumentLatency.js +4 -4
- package/models/trace/insights/DocumentLatency.js.map +1 -1
- package/models/trace/insights/DuplicatedJavaScript.d.ts +13 -8
- package/models/trace/insights/DuplicatedJavaScript.js +7 -3
- package/models/trace/insights/DuplicatedJavaScript.js.map +1 -1
- package/models/trace/insights/FontDisplay.d.ts +16 -10
- package/models/trace/insights/FontDisplay.js +9 -3
- package/models/trace/insights/FontDisplay.js.map +1 -1
- package/models/trace/insights/ForcedReflow.d.ts +13 -13
- package/models/trace/insights/ForcedReflow.js +4 -4
- package/models/trace/insights/ForcedReflow.js.map +1 -1
- package/models/trace/insights/INPBreakdown.d.ts +12 -12
- package/models/trace/insights/INPBreakdown.js +1 -1
- package/models/trace/insights/INPBreakdown.js.map +1 -1
- package/models/trace/insights/ImageDelivery.d.ts +13 -12
- package/models/trace/insights/ImageDelivery.js +5 -5
- package/models/trace/insights/ImageDelivery.js.map +1 -1
- package/models/trace/insights/LCPBreakdown.d.ts +13 -12
- package/models/trace/insights/LCPBreakdown.js +3 -3
- package/models/trace/insights/LCPBreakdown.js.map +1 -1
- package/models/trace/insights/LCPDiscovery.d.ts +14 -13
- package/models/trace/insights/LCPDiscovery.js +7 -7
- package/models/trace/insights/LCPDiscovery.js.map +1 -1
- package/models/trace/insights/LegacyJavaScript.d.ts +13 -8
- package/models/trace/insights/LegacyJavaScript.js +7 -3
- package/models/trace/insights/LegacyJavaScript.js.map +1 -1
- package/models/trace/insights/ModernHTTP.d.ts +10 -10
- package/models/trace/insights/ModernHTTP.js +9 -5
- package/models/trace/insights/ModernHTTP.js.map +1 -1
- package/models/trace/insights/NetworkDependencyTree.d.ts +33 -28
- package/models/trace/insights/NetworkDependencyTree.js +17 -13
- package/models/trace/insights/NetworkDependencyTree.js.map +1 -1
- package/models/trace/insights/RenderBlocking.d.ts +8 -7
- package/models/trace/insights/RenderBlocking.js +3 -5
- package/models/trace/insights/RenderBlocking.js.map +1 -1
- package/models/trace/insights/SlowCSSSelector.d.ts +17 -16
- package/models/trace/insights/SlowCSSSelector.js +23 -20
- package/models/trace/insights/SlowCSSSelector.js.map +1 -1
- package/models/trace/insights/ThirdParties.d.ts +22 -13
- package/models/trace/insights/ThirdParties.js +19 -8
- package/models/trace/insights/ThirdParties.js.map +1 -1
- package/models/trace/insights/Viewport.d.ts +8 -6
- package/models/trace/insights/Viewport.js +4 -2
- package/models/trace/insights/Viewport.js.map +1 -1
- package/models/trace/insights/bundle-tsconfig.json +59 -1
- package/models/trace/insights/bundle-tsconfig.ref.json +27 -0
- package/models/trace/insights/foundation_unittests-tsconfig.json +98 -0
- package/models/trace/insights/foundation_unittests-tsconfig.ref.json +65 -0
- package/models/trace/insights/foundation_unittests_node_typecheck-tsconfig.json +95 -0
- package/models/trace/insights/insights-tsconfig.json +34 -23
- package/models/trace/insights/insights-tsconfig.ref.json +82 -0
- package/models/trace/insights/insights_node_typecheck-tsconfig.json +111 -0
- package/models/trace/insights/insights_node_typecheck.stamp +0 -0
- package/models/trace/insights/types.d.ts +9 -6
- package/models/trace/insights/types.js.map +1 -1
- package/models/trace/lantern/bundle-tsconfig.json +71 -1
- package/models/trace/lantern/bundle-tsconfig.ref.json +39 -0
- package/models/trace/lantern/core/NetworkAnalyzer.d.ts +1 -0
- package/models/trace/lantern/core/NetworkAnalyzer.js +6 -2
- package/models/trace/lantern/core/NetworkAnalyzer.js.map +1 -1
- package/models/trace/lantern/core/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/core/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/core/core-tsconfig.json +23 -12
- package/models/trace/lantern/core/core-tsconfig.ref.json +28 -0
- package/models/trace/lantern/core/core_node_typecheck-tsconfig.json +57 -0
- package/models/trace/lantern/core/core_node_typecheck.stamp +0 -0
- package/models/trace/lantern/core/{devtools_entrypoint-bundle-typescript-tsconfig.json → foundation_unittests-tsconfig.json} +34 -13
- package/models/trace/lantern/core/foundation_unittests-tsconfig.ref.json +36 -0
- package/models/trace/lantern/core/foundation_unittests_node_typecheck-tsconfig.json +66 -0
- package/models/trace/lantern/graph/BaseNode.d.ts +2 -2
- package/models/trace/lantern/graph/BaseNode.js.map +1 -1
- package/models/trace/lantern/graph/CPUNode.d.ts +4 -2
- package/models/trace/lantern/graph/CPUNode.js +23 -7
- package/models/trace/lantern/graph/CPUNode.js.map +1 -1
- package/models/trace/lantern/graph/NetworkNode.js +12 -0
- package/models/trace/lantern/graph/NetworkNode.js.map +1 -1
- package/models/trace/lantern/graph/PageDependencyGraph.js +26 -4
- package/models/trace/lantern/graph/PageDependencyGraph.js.map +1 -1
- package/models/trace/lantern/graph/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/graph/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/graph/{devtools_entrypoint-bundle-typescript-tsconfig.json → foundation_unittests-tsconfig.json} +26 -13
- package/models/trace/lantern/graph/foundation_unittests-tsconfig.ref.json +28 -0
- package/models/trace/lantern/graph/foundation_unittests_node_typecheck-tsconfig.json +58 -0
- package/models/trace/lantern/graph/graph-tsconfig.json +24 -13
- package/models/trace/lantern/graph/graph-tsconfig.ref.json +33 -0
- package/models/trace/lantern/graph/graph_node_typecheck-tsconfig.json +62 -0
- package/models/trace/lantern/graph/graph_node_typecheck.stamp +0 -0
- package/models/trace/lantern/metrics/TotalBlockingTime.js +1 -1
- package/models/trace/lantern/metrics/TotalBlockingTime.js.map +1 -1
- package/models/trace/lantern/metrics/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/metrics/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/metrics/foundation_unittests-tsconfig.json +76 -0
- package/models/trace/lantern/metrics/foundation_unittests-tsconfig.ref.json +43 -0
- package/models/trace/lantern/metrics/foundation_unittests_node_typecheck-tsconfig.json +73 -0
- package/models/trace/lantern/metrics/metrics-tsconfig.json +26 -15
- package/models/trace/lantern/metrics/metrics-tsconfig.ref.json +43 -0
- package/models/trace/lantern/metrics/metrics_node_typecheck-tsconfig.json +72 -0
- package/models/trace/lantern/metrics/metrics_node_typecheck.stamp +0 -0
- package/models/trace/lantern/simulation/ConnectionPool.js +4 -4
- package/models/trace/lantern/simulation/ConnectionPool.js.map +1 -1
- package/models/trace/lantern/simulation/Constants.d.ts +29 -28
- package/models/trace/lantern/simulation/Constants.js +3 -1
- package/models/trace/lantern/simulation/Constants.js.map +1 -1
- package/models/trace/lantern/simulation/DNSCache.js.map +1 -1
- package/models/trace/lantern/simulation/Simulator.js +6 -2
- package/models/trace/lantern/simulation/Simulator.js.map +1 -1
- package/models/trace/lantern/simulation/TCPConnection.d.ts +4 -4
- package/models/trace/lantern/simulation/TCPConnection.js +12 -12
- package/models/trace/lantern/simulation/TCPConnection.js.map +1 -1
- package/models/trace/lantern/simulation/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/simulation/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/simulation/foundation_unittests-tsconfig.json +75 -0
- package/models/trace/lantern/simulation/foundation_unittests-tsconfig.ref.json +42 -0
- package/models/trace/lantern/simulation/foundation_unittests_node_typecheck-tsconfig.json +72 -0
- package/models/trace/lantern/simulation/simulation-tsconfig.json +25 -14
- package/models/trace/lantern/simulation/simulation-tsconfig.ref.json +38 -0
- package/models/trace/lantern/simulation/simulation_node_typecheck-tsconfig.json +67 -0
- package/models/trace/lantern/simulation/simulation_node_typecheck.stamp +0 -0
- package/models/trace/lantern/{metrics/devtools_entrypoint-bundle-typescript-tsconfig.json → testing/bundle-tsconfig.json} +25 -13
- package/models/trace/lantern/testing/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/{simulation/devtools_entrypoint-bundle-typescript-tsconfig.json → testing/testing-tsconfig.json} +28 -13
- package/models/trace/lantern/testing/testing-tsconfig.ref.json +30 -0
- package/models/trace/lantern/types/Lantern.d.ts +27 -19
- package/models/trace/lantern/types/Lantern.js.map +1 -1
- package/models/trace/lantern/types/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/types/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/types/types-tsconfig.json +23 -12
- package/models/trace/lantern/types/types-tsconfig.ref.json +27 -0
- package/models/trace/lantern/types/{devtools_entrypoint-bundle-typescript-tsconfig.json → types_node_typecheck-tsconfig.json} +25 -17
- package/models/trace/lantern/types/types_node_typecheck.stamp +0 -0
- package/models/trace/trace-tsconfig.json +31 -20
- package/models/trace/trace-tsconfig.ref.json +57 -0
- package/models/trace/trace_node_typecheck-tsconfig.json +86 -0
- package/models/trace/trace_node_typecheck.stamp +0 -0
- package/models/trace/types/Configuration.d.ts +11 -0
- package/models/trace/types/Configuration.js +1 -0
- package/models/trace/types/Configuration.js.map +1 -1
- package/models/trace/types/Extensions.d.ts +1 -1
- package/models/trace/types/File.d.ts +1 -0
- package/models/trace/types/File.js.map +1 -1
- package/models/trace/types/Overlays.d.ts +13 -3
- package/models/trace/types/Overlays.js.map +1 -1
- package/models/trace/types/TraceEvents.d.ts +39 -9
- package/models/trace/types/TraceEvents.js +103 -3
- package/models/trace/types/TraceEvents.js.map +1 -1
- package/models/trace/types/bundle-tsconfig.json +59 -1
- package/models/trace/types/bundle-tsconfig.ref.json +27 -0
- package/{core/platform/api/api_node_typecheck-tsconfig.json → models/trace/types/foundation_unittests-tsconfig.json} +32 -13
- package/models/trace/types/foundation_unittests-tsconfig.ref.json +34 -0
- package/models/trace/types/foundation_unittests_node_typecheck-tsconfig.json +64 -0
- package/models/trace/types/types-tsconfig.json +27 -16
- package/models/trace/types/types-tsconfig.ref.json +44 -0
- package/models/trace/types/types_node_typecheck-tsconfig.json +73 -0
- package/models/trace/types/types_node_typecheck.stamp +0 -0
- package/package.json +2 -3
- package/test/test-trace-engine.mjs +1 -1
- package/{models/cpu_profile/devtools_entrypoint-bundle-typescript-tsconfig.json → third_party/legacy-javascript/bundle-tsconfig.json} +24 -13
- package/third_party/legacy-javascript/bundle-tsconfig.ref.json +27 -0
- package/third_party/legacy-javascript/legacy-javascript-tsconfig.ref.json +15 -0
- package/third_party/legacy-javascript/legacy-javascript.d.ts +2 -1
- package/third_party/legacy-javascript/legacy-javascript.js +3 -1
- package/third_party/legacy-javascript/legacy-javascript.js.map +1 -0
- package/third_party/legacy-javascript/lib/legacy-javascript.d.ts +18 -0
- package/third_party/legacy-javascript/lib/legacy-javascript.js +1119 -0
- package/core/platform/api/bundle-tsconfig.json +0 -1
- package/core/platform/api/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/browser/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/node/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/extras/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/handlers/AuctionWorkletsHandler.d.ts +0 -8
- package/models/trace/handlers/AuctionWorkletsHandler.js +0 -163
- package/models/trace/handlers/AuctionWorkletsHandler.js.map +0 -1
- package/models/trace/handlers/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/helpers/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/insights/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/lantern/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -60
- package/models/trace/types/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"compilerOptions":{"composite":true,"outDir":".","baseUrl":".","rootDir":"../../../../../../../front_end/core/platform/api"},"files":["../../../../../../../front_end/core/platform/api/api.ts"],"references":[{"path":"./api-tsconfig.json"}]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../../front_end/core/platform/api",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../../front_end/core/platform/api/api.ts",
|
|
39
|
-
"../../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "./api-tsconfig.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../../front_end/core/platform/browser",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../../front_end/core/platform/browser/browser.ts",
|
|
39
|
-
"../../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "./browser-tsconfig.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../front_end/core/platform",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../front_end/core/platform/platform.ts",
|
|
39
|
-
"../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "./platform-tsconfig.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../../front_end/core/platform/node",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../../front_end/core/platform/node/node.ts",
|
|
39
|
-
"../../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "./node-tsconfig.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../../front_end/models/trace/extras",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../../front_end/models/trace/extras/extras.ts",
|
|
39
|
-
"../../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "./extras-tsconfig.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as Types from '../types/types.js';
|
|
2
|
-
export declare function reset(): void;
|
|
3
|
-
export declare function handleEvent(event: Types.Events.Event): void;
|
|
4
|
-
export declare function finalize(): Promise<void>;
|
|
5
|
-
export interface AuctionWorkletsData {
|
|
6
|
-
worklets: Map<Types.Events.ProcessID, Types.Events.SyntheticAuctionWorklet>;
|
|
7
|
-
}
|
|
8
|
-
export declare function data(): AuctionWorkletsData;
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
// Copyright 2023 The Chromium Authors
|
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
-
// found in the LICENSE file.
|
|
4
|
-
import * as Helpers from '../helpers/helpers.js';
|
|
5
|
-
import * as Types from '../types/types.js';
|
|
6
|
-
/**
|
|
7
|
-
* There are two metadata events that we care about.
|
|
8
|
-
* => AuctionWorkletRunningInProcess tells us which process the Auction Worklet
|
|
9
|
-
* has taken to run in.
|
|
10
|
-
* => AuctionWorkletDoneWithProcess tells us when the worklet is done with that
|
|
11
|
-
* process. This is less useful - but in the future we might want to surface
|
|
12
|
-
* this information so we still parse and return the event.
|
|
13
|
-
*
|
|
14
|
-
* It is important to note that the top level PID on these events is NOT the
|
|
15
|
-
* PID that the worklet is running on; instead we have to look at its
|
|
16
|
-
* args.data.pid property, which is the PID of the process that it is running
|
|
17
|
-
* on.
|
|
18
|
-
*
|
|
19
|
-
* For any given RunningInProcess event, we would typically expect to see a
|
|
20
|
-
* DoneWithProcess event, however this is not guaranteed, especially as users
|
|
21
|
-
* can record any chunk of time in DevTools.
|
|
22
|
-
*
|
|
23
|
-
* Similarly, it is also possible to see a DoneWithProcess event without a
|
|
24
|
-
* RunningInProcess event, if the user started recording after the auction
|
|
25
|
-
* worklets started. Therefore we are happy to create
|
|
26
|
-
* SyntheticAuctionWorklets as long as we see just one of these events.
|
|
27
|
-
*
|
|
28
|
-
* If we do get two events and need to pair them, we can use the
|
|
29
|
-
* args.data.target property, which is a string ID shared by both
|
|
30
|
-
* events.
|
|
31
|
-
*/
|
|
32
|
-
let runningInProcessEvents = new Map();
|
|
33
|
-
let doneWithProcessEvents = new Map();
|
|
34
|
-
// Keyed by the PID defined in `args.data.pid` on AuctionWorklet trace events..
|
|
35
|
-
let createdSyntheticEvents = new Map();
|
|
36
|
-
// Each AuctonWorklet takes over a process and has 2 threads (that we care
|
|
37
|
-
// about and want to show as tracks):
|
|
38
|
-
// 1. A CrUtilityMain thread which is known as the "control process".
|
|
39
|
-
// 2. A AuctionV8HelperThread which is the actual auction worklet and will be
|
|
40
|
-
// either a "Seller" or a "Bidder"
|
|
41
|
-
// To detect these we look for the metadata thread_name events. We key these by
|
|
42
|
-
// PID so that we can easily look them up later without having to loop through.
|
|
43
|
-
let utilityThreads = new Map();
|
|
44
|
-
let v8HelperThreads = new Map();
|
|
45
|
-
export function reset() {
|
|
46
|
-
runningInProcessEvents = new Map();
|
|
47
|
-
doneWithProcessEvents = new Map();
|
|
48
|
-
createdSyntheticEvents = new Map();
|
|
49
|
-
utilityThreads = new Map();
|
|
50
|
-
v8HelperThreads = new Map();
|
|
51
|
-
}
|
|
52
|
-
export function handleEvent(event) {
|
|
53
|
-
if (Types.Events.isAuctionWorkletRunningInProcess(event)) {
|
|
54
|
-
runningInProcessEvents.set(event.args.data.pid, event);
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
if (Types.Events.isAuctionWorkletDoneWithProcess(event)) {
|
|
58
|
-
doneWithProcessEvents.set(event.args.data.pid, event);
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
if (Types.Events.isThreadName(event)) {
|
|
62
|
-
if (event.args.name === 'auction_worklet.CrUtilityMain') {
|
|
63
|
-
utilityThreads.set(event.pid, event);
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
if (event.args.name === 'AuctionV8HelperThread') {
|
|
67
|
-
v8HelperThreads.set(event.pid, event);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
function workletType(input) {
|
|
72
|
-
switch (input) {
|
|
73
|
-
case 'seller':
|
|
74
|
-
return Types.Events.AuctionWorkletType.SELLER;
|
|
75
|
-
case 'bidder':
|
|
76
|
-
return Types.Events.AuctionWorkletType.BIDDER;
|
|
77
|
-
default:
|
|
78
|
-
return Types.Events.AuctionWorkletType.UNKNOWN;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* We cannot make the full event without knowing the type of event, but we can
|
|
83
|
-
* create everything other than the `args` field, as those are identical
|
|
84
|
-
* regardless of the type of event.
|
|
85
|
-
*/
|
|
86
|
-
function makeSyntheticEventBase(event) {
|
|
87
|
-
return Helpers.SyntheticEvents.SyntheticEventsManager
|
|
88
|
-
.registerSyntheticEvent({
|
|
89
|
-
rawSourceEvent: event,
|
|
90
|
-
name: 'SyntheticAuctionWorklet',
|
|
91
|
-
s: Types.Events.Scope.THREAD,
|
|
92
|
-
cat: event.cat,
|
|
93
|
-
tid: event.tid,
|
|
94
|
-
ts: event.ts,
|
|
95
|
-
ph: Types.Events.Phase.INSTANT,
|
|
96
|
-
pid: event.args.data.pid,
|
|
97
|
-
host: event.args.data.host,
|
|
98
|
-
target: event.args.data.target,
|
|
99
|
-
type: workletType(event.args.data.type),
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
export async function finalize() {
|
|
103
|
-
// Loop through the utility threads we found to create the worklet events. We
|
|
104
|
-
// expect each worklet to have a utility thread, so we can use them as the
|
|
105
|
-
// root of our list of worklets.
|
|
106
|
-
for (const [pid, utilityThreadNameEvent] of utilityThreads) {
|
|
107
|
-
const v8HelperEvent = v8HelperThreads.get(pid);
|
|
108
|
-
if (!v8HelperEvent) {
|
|
109
|
-
// Bad trace data - AuctionWorklets are expected to always have both threads.
|
|
110
|
-
continue;
|
|
111
|
-
}
|
|
112
|
-
const runningEvent = runningInProcessEvents.get(pid);
|
|
113
|
-
const doneWithEvent = doneWithProcessEvents.get(pid);
|
|
114
|
-
// We can create a worklet from either the runningEvent or doneWithEvent -
|
|
115
|
-
// we do not need both. We cannot express that to TypeScript with an early
|
|
116
|
-
// return here, so instead we set the event initially to null, and then
|
|
117
|
-
// create it from either the running event or the doneWith event. If it is
|
|
118
|
-
// still null after this, that means neither event was found, and we drop
|
|
119
|
-
// the worklet as we do not have enough information to create the synthetic
|
|
120
|
-
// event.
|
|
121
|
-
let syntheticEvent = null;
|
|
122
|
-
if (runningEvent) {
|
|
123
|
-
syntheticEvent = {
|
|
124
|
-
...makeSyntheticEventBase(runningEvent),
|
|
125
|
-
args: {
|
|
126
|
-
data: {
|
|
127
|
-
runningInProcessEvent: runningEvent,
|
|
128
|
-
utilityThread: utilityThreadNameEvent,
|
|
129
|
-
v8HelperThread: v8HelperEvent,
|
|
130
|
-
},
|
|
131
|
-
},
|
|
132
|
-
};
|
|
133
|
-
if (doneWithEvent) {
|
|
134
|
-
syntheticEvent.args.data.doneWithProcessEvent = doneWithEvent;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
else if (doneWithEvent) {
|
|
138
|
-
syntheticEvent = {
|
|
139
|
-
...makeSyntheticEventBase(doneWithEvent),
|
|
140
|
-
args: {
|
|
141
|
-
data: {
|
|
142
|
-
doneWithProcessEvent: doneWithEvent,
|
|
143
|
-
utilityThread: utilityThreadNameEvent,
|
|
144
|
-
v8HelperThread: v8HelperEvent,
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
};
|
|
148
|
-
if (runningEvent) {
|
|
149
|
-
syntheticEvent.args.data.runningInProcessEvent = runningEvent;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
if (syntheticEvent === null) {
|
|
153
|
-
continue;
|
|
154
|
-
}
|
|
155
|
-
createdSyntheticEvents.set(pid, syntheticEvent);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
export function data() {
|
|
159
|
-
return {
|
|
160
|
-
worklets: createdSyntheticEvents,
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
//# sourceMappingURL=AuctionWorkletsHandler.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuctionWorkletsHandler.js","sourceRoot":"","sources":["../../../../../../../front_end/models/trace/handlers/AuctionWorkletsHandler.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright 2023 The Chromium Authors\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nimport * as Helpers from '../helpers/helpers.js';\nimport * as Types from '../types/types.js';\n\n/**\n * There are two metadata events that we care about.\n * => AuctionWorkletRunningInProcess tells us which process the Auction Worklet\n * has taken to run in.\n * => AuctionWorkletDoneWithProcess tells us when the worklet is done with that\n * process. This is less useful - but in the future we might want to surface\n * this information so we still parse and return the event.\n *\n * It is important to note that the top level PID on these events is NOT the\n * PID that the worklet is running on; instead we have to look at its\n * args.data.pid property, which is the PID of the process that it is running\n * on.\n *\n * For any given RunningInProcess event, we would typically expect to see a\n * DoneWithProcess event, however this is not guaranteed, especially as users\n * can record any chunk of time in DevTools.\n *\n * Similarly, it is also possible to see a DoneWithProcess event without a\n * RunningInProcess event, if the user started recording after the auction\n * worklets started. Therefore we are happy to create\n * SyntheticAuctionWorklets as long as we see just one of these events.\n *\n * If we do get two events and need to pair them, we can use the\n * args.data.target property, which is a string ID shared by both\n * events.\n */\nlet runningInProcessEvents = new Map<Types.Events.ProcessID, Types.Events.AuctionWorkletRunningInProcess>();\nlet doneWithProcessEvents = new Map<Types.Events.ProcessID, Types.Events.AuctionWorkletDoneWithProcess>();\n\n// Keyed by the PID defined in `args.data.pid` on AuctionWorklet trace events..\nlet createdSyntheticEvents = new Map<Types.Events.ProcessID, Types.Events.SyntheticAuctionWorklet>();\n\n// Each AuctonWorklet takes over a process and has 2 threads (that we care\n// about and want to show as tracks):\n// 1. A CrUtilityMain thread which is known as the \"control process\".\n// 2. A AuctionV8HelperThread which is the actual auction worklet and will be\n// either a \"Seller\" or a \"Bidder\"\n// To detect these we look for the metadata thread_name events. We key these by\n// PID so that we can easily look them up later without having to loop through.\nlet utilityThreads = new Map<Types.Events.ProcessID, Types.Events.ThreadName>();\nlet v8HelperThreads = new Map<Types.Events.ProcessID, Types.Events.ThreadName>();\n\nexport function reset(): void {\n runningInProcessEvents = new Map();\n doneWithProcessEvents = new Map();\n createdSyntheticEvents = new Map();\n utilityThreads = new Map();\n v8HelperThreads = new Map();\n}\n\nexport function handleEvent(event: Types.Events.Event): void {\n if (Types.Events.isAuctionWorkletRunningInProcess(event)) {\n runningInProcessEvents.set(event.args.data.pid, event);\n return;\n }\n\n if (Types.Events.isAuctionWorkletDoneWithProcess(event)) {\n doneWithProcessEvents.set(event.args.data.pid, event);\n return;\n }\n\n if (Types.Events.isThreadName(event)) {\n if (event.args.name === 'auction_worklet.CrUtilityMain') {\n utilityThreads.set(event.pid, event);\n return;\n }\n if (event.args.name === 'AuctionV8HelperThread') {\n v8HelperThreads.set(event.pid, event);\n }\n }\n}\n\nfunction workletType(input: string): Types.Events.AuctionWorkletType {\n switch (input) {\n case 'seller':\n return Types.Events.AuctionWorkletType.SELLER;\n case 'bidder':\n return Types.Events.AuctionWorkletType.BIDDER;\n default:\n return Types.Events.AuctionWorkletType.UNKNOWN;\n }\n}\n\n/**\n * We cannot make the full event without knowing the type of event, but we can\n * create everything other than the `args` field, as those are identical\n * regardless of the type of event.\n */\nfunction makeSyntheticEventBase(\n event: Types.Events.AuctionWorkletDoneWithProcess|\n Types.Events.AuctionWorkletRunningInProcess): Omit<Types.Events.SyntheticAuctionWorklet, 'args'> {\n return Helpers.SyntheticEvents.SyntheticEventsManager\n .registerSyntheticEvent<Omit<Types.Events.SyntheticAuctionWorklet, 'args'>>({\n rawSourceEvent: event,\n name: 'SyntheticAuctionWorklet',\n s: Types.Events.Scope.THREAD,\n cat: event.cat,\n tid: event.tid,\n ts: event.ts,\n ph: Types.Events.Phase.INSTANT,\n pid: event.args.data.pid,\n host: event.args.data.host,\n target: event.args.data.target,\n type: workletType(event.args.data.type),\n });\n}\n\nexport async function finalize(): Promise<void> {\n // Loop through the utility threads we found to create the worklet events. We\n // expect each worklet to have a utility thread, so we can use them as the\n // root of our list of worklets.\n for (const [pid, utilityThreadNameEvent] of utilityThreads) {\n const v8HelperEvent = v8HelperThreads.get(pid);\n if (!v8HelperEvent) {\n // Bad trace data - AuctionWorklets are expected to always have both threads.\n continue;\n }\n\n const runningEvent = runningInProcessEvents.get(pid);\n const doneWithEvent = doneWithProcessEvents.get(pid);\n\n // We can create a worklet from either the runningEvent or doneWithEvent -\n // we do not need both. We cannot express that to TypeScript with an early\n // return here, so instead we set the event initially to null, and then\n // create it from either the running event or the doneWith event. If it is\n // still null after this, that means neither event was found, and we drop\n // the worklet as we do not have enough information to create the synthetic\n // event.\n\n let syntheticEvent: Types.Events.SyntheticAuctionWorklet|null = null;\n\n if (runningEvent) {\n syntheticEvent = {\n ...makeSyntheticEventBase(runningEvent),\n args: {\n data: {\n runningInProcessEvent: runningEvent,\n utilityThread: utilityThreadNameEvent,\n v8HelperThread: v8HelperEvent,\n },\n },\n };\n if (doneWithEvent) {\n syntheticEvent.args.data.doneWithProcessEvent = doneWithEvent;\n }\n } else if (doneWithEvent) {\n syntheticEvent = {\n ...makeSyntheticEventBase(doneWithEvent),\n args: {\n data: {\n doneWithProcessEvent: doneWithEvent,\n utilityThread: utilityThreadNameEvent,\n v8HelperThread: v8HelperEvent,\n },\n },\n };\n if (runningEvent) {\n syntheticEvent.args.data.runningInProcessEvent = runningEvent;\n }\n }\n if (syntheticEvent === null) {\n continue;\n }\n createdSyntheticEvents.set(pid, syntheticEvent);\n }\n}\n\nexport interface AuctionWorkletsData {\n worklets: Map<Types.Events.ProcessID, Types.Events.SyntheticAuctionWorklet>;\n}\n\nexport function data(): AuctionWorkletsData {\n return {\n worklets: createdSyntheticEvents,\n };\n}\n"]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../../front_end/models/trace/handlers",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../../front_end/models/trace/handlers/handlers.ts",
|
|
39
|
-
"../../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "./handlers-tsconfig.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../../front_end/models/trace/helpers",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../../front_end/models/trace/helpers/helpers.ts",
|
|
39
|
-
"../../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "./helpers-tsconfig.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../../front_end/models/trace/insights",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../../front_end/models/trace/insights/insights.ts",
|
|
39
|
-
"../../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "./insights-tsconfig.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"checkJs": true,
|
|
5
|
-
"composite": true,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"lib": [
|
|
11
|
-
"dom",
|
|
12
|
-
"dom.iterable",
|
|
13
|
-
"ES2023",
|
|
14
|
-
"ES2024.Promise",
|
|
15
|
-
"ESNext.Iterator",
|
|
16
|
-
"ESNext.Collection",
|
|
17
|
-
"ESNext.Array"
|
|
18
|
-
],
|
|
19
|
-
"module": "esnext",
|
|
20
|
-
"noEmitOnError": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
"noImplicitReturns": true,
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"outDir": ".",
|
|
27
|
-
"rootDir": "../../../../../../../front_end/models/trace/lantern",
|
|
28
|
-
"skipLibCheck": true,
|
|
29
|
-
"sourceMap": true,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"target": "ES2023",
|
|
32
|
-
"tsBuildInfoFile": "devtools_entrypoint-bundle-typescript-tsconfig.json.tsbuildinfo",
|
|
33
|
-
"typeRoots": [],
|
|
34
|
-
"types": [],
|
|
35
|
-
"useUnknownInCatchVariables": false
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"../../../../../../../front_end/models/trace/lantern/lantern.ts",
|
|
39
|
-
"../../../../../../../front_end/legacy/legacy-defs.d.ts",
|
|
40
|
-
"../../../../../../../front_end/global_typings/global_defs.d.ts",
|
|
41
|
-
"../../../../../../../node_modules/@types/filesystem/index.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"references": [
|
|
44
|
-
{
|
|
45
|
-
"path": "core/bundle-tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "graph/bundle-tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "metrics/bundle-tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "simulation/bundle-tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "types/bundle-tsconfig.json"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|