@paulirish/trace_engine 0.0.66 → 0.0.67-beta.1
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 +62 -22
- package/analyze-trace.mjs +6 -144
- package/core/common/Base64.d.ts +12 -0
- package/core/common/CharacterIdMap.d.ts +5 -0
- package/core/common/Color.d.ts +357 -0
- package/core/common/ColorConverter.d.ts +26 -0
- package/core/common/ColorUtils.d.ts +45 -0
- package/core/common/Console.d.ts +54 -0
- package/core/common/Debouncer.d.ts +8 -0
- package/core/common/EventTarget.d.ts +22 -0
- package/core/common/Gzip.d.ts +23 -0
- package/core/common/JavaScriptMetaData.d.ts +20 -0
- package/core/common/Lazy.d.ts +4 -0
- package/core/common/MapWithDefault.d.ts +9 -0
- package/core/common/Mutex.d.ts +13 -0
- package/core/common/Object.d.ts +20 -0
- package/core/common/ParsedURL.d.ts +87 -0
- package/core/common/Progress.d.ts +47 -0
- package/core/common/ResolverBase.d.ts +29 -0
- package/core/common/ResourceType.d.ts +52 -0
- package/core/common/ReturnToPanel.d.ts +10 -0
- package/core/common/Revealer.d.ts +66 -0
- package/core/common/Runnable.d.ts +14 -0
- package/core/common/SegmentedRange.d.ts +14 -0
- package/core/common/SettingRegistration.d.ts +136 -0
- package/core/common/Settings.d.ts +226 -0
- package/core/common/SimpleHistoryManager.d.ts +20 -0
- package/core/common/Srcset.d.ts +16 -0
- package/core/common/StringOutputStream.d.ts +10 -0
- package/core/common/TextDictionary.d.ts +11 -0
- package/core/common/Throttler.d.ts +12 -0
- package/core/common/Trie.d.ts +24 -0
- package/core/common/VersionController.d.ts +85 -0
- package/core/common/common.d.ts +33 -1
- package/core/host/AidaClient.d.ts +73 -0
- package/core/host/AidaClientTypes.d.ts +355 -0
- package/core/host/AidaGcaTranslation.d.ts +10 -0
- package/core/host/DispatchHttpRequestClient.d.ts +14 -0
- package/core/host/GcaClient.d.ts +14 -0
- package/core/host/GcaTypes.d.ts +411 -0
- package/core/host/GdpClient.d.ts +84 -0
- package/core/host/InspectorFrontendHost.d.ts +29 -0
- package/core/host/InspectorFrontendHostAPI.d.ts +425 -0
- package/core/host/InspectorFrontendHostStub.d.ts +151 -0
- package/core/host/Platform.d.ts +11 -0
- package/core/host/ResourceLoader.d.ts +15 -0
- package/core/host/UserMetrics.d.ts +116 -0
- package/core/host/UserMetricsEnums.d.ts +883 -0
- package/core/host/host.d.ts +13 -1
- package/core/i18n/ByteUtilities.d.ts +11 -0
- package/core/i18n/DevToolsLocale.d.ts +41 -0
- package/core/i18n/NumberFormatter.d.ts +11 -0
- package/core/i18n/i18n.d.ts +10 -0
- package/core/i18n/i18nImpl.d.ts +64 -0
- package/core/i18n/i18nTypes.d.ts +5 -0
- package/core/i18n/locales.d.ts +15 -0
- package/core/i18n/time-utilities.d.ts +16 -0
- package/core/platform/StringUtilities.d.ts +0 -21
- package/core/protocol_client/CDPConnection.d.ts +77 -0
- package/core/protocol_client/ConnectionTransport.d.ts +9 -0
- package/core/protocol_client/DevToolsCDPConnection.d.ts +16 -0
- package/core/protocol_client/InspectorBackend.d.ts +223 -0
- package/core/protocol_client/protocol_client.d.ts +5 -0
- package/core/root/DevToolsContext.d.ts +34 -0
- package/core/root/ExperimentNames.d.ts +8 -0
- package/core/root/Runtime.d.ts +351 -0
- package/core/root/root.d.ts +4 -1
- package/core/sdk/AccessibilityModel.d.ts +76 -0
- package/core/sdk/AnimationModel.d.ts +161 -0
- package/core/sdk/AutofillModel.d.ts +23 -0
- package/core/sdk/CPUProfilerModel.d.ts +46 -0
- package/core/sdk/CPUThrottlingManager.d.ts +47 -0
- package/core/sdk/CSSContainerQuery.d.ts +42 -0
- package/core/sdk/CSSFontFace.d.ts +10 -0
- package/core/sdk/CSSLayer.d.ts +9 -0
- package/core/sdk/CSSLocation.d.ts +14 -0
- package/core/sdk/CSSMatchedStyles.d.ts +138 -0
- package/core/sdk/CSSMedia.d.ts +36 -0
- package/core/sdk/CSSMetadata.d.ts +87 -0
- package/core/sdk/CSSModel.d.ts +180 -0
- package/core/sdk/CSSNavigation.d.ts +10 -0
- package/core/sdk/CSSProperty.d.ts +53 -0
- package/core/sdk/CSSPropertyParser.d.ts +131 -0
- package/core/sdk/CSSPropertyParserMatchers.d.ts +442 -0
- package/core/sdk/CSSQuery.d.ts +22 -0
- package/core/sdk/CSSRule.d.ts +132 -0
- package/core/sdk/CSSScope.d.ts +9 -0
- package/core/sdk/CSSStartingStyle.d.ts +9 -0
- package/core/sdk/CSSStyleDeclaration.d.ts +38 -0
- package/core/sdk/CSSStyleSheetHeader.d.ts +53 -0
- package/core/sdk/CSSSupports.d.ts +10 -0
- package/core/sdk/CategorizedBreakpoint.d.ts +42 -0
- package/core/sdk/ChildTargetManager.d.ts +40 -0
- package/core/sdk/CompilerSourceMappingContentProvider.d.ts +12 -0
- package/core/sdk/Connections.d.ts +36 -0
- package/core/sdk/ConsoleModel.d.ts +127 -0
- package/core/sdk/ConsoleModelTypes.d.ts +6 -0
- package/core/sdk/Cookie.d.ts +68 -0
- package/core/sdk/CookieModel.d.ts +31 -0
- package/core/sdk/CookieParser.d.ts +14 -0
- package/core/sdk/CrashReportContextModel.d.ts +8 -0
- package/core/sdk/DOMDebuggerModel.d.ts +127 -0
- package/core/sdk/DOMModel.d.ts +436 -0
- package/core/sdk/DOMStorageModel.d.ts +79 -0
- package/core/sdk/DebuggerModel.d.ts +272 -0
- package/core/sdk/EmulationModel.d.ts +95 -0
- package/core/sdk/EnhancedTracesParser.d.ts +105 -0
- package/core/sdk/EventBreakpointsModel.d.ts +66 -0
- package/core/sdk/FrameAssociated.d.ts +6 -0
- package/core/sdk/FrameManager.d.ts +68 -0
- package/core/sdk/HeapProfilerModel.d.ts +75 -0
- package/core/sdk/HttpReasonPhraseStrings.d.ts +5 -0
- package/core/sdk/IOModel.d.ts +10 -0
- package/core/sdk/IsolateManager.d.ts +53 -0
- package/core/sdk/IssuesModel.d.ts +28 -0
- package/core/sdk/LayerTreeBase.d.ts +70 -0
- package/core/sdk/LogModel.d.ts +20 -0
- package/core/sdk/NetworkManager.d.ts +418 -0
- package/core/sdk/NetworkRequest.d.ts +469 -0
- package/core/sdk/NetworkRequestAccess.d.ts +91 -0
- package/core/sdk/OverlayColorGenerator.d.ts +14 -0
- package/core/sdk/OverlayModel.d.ts +186 -0
- package/core/sdk/OverlayPersistentHighlighter.d.ts +116 -0
- package/core/sdk/PageFunctions.d.ts +22 -0
- package/core/sdk/PageLoad.d.ts +14 -0
- package/core/sdk/PageResourceLoader.d.ts +111 -0
- package/core/sdk/PaintProfiler.d.ts +43 -0
- package/core/sdk/PerformanceMetricsModel.d.ts +12 -0
- package/core/sdk/PreloadingModel.d.ts +146 -0
- package/core/sdk/RehydratingConnection.d.ts +73 -0
- package/core/sdk/RehydratingObject.d.ts +59 -0
- package/core/sdk/RemoteObject.d.ts +210 -0
- package/core/sdk/Resource.d.ts +36 -0
- package/core/sdk/ResourceTreeModel.d.ts +278 -0
- package/core/sdk/RuntimeModel.d.ts +163 -0
- package/core/sdk/SDKModel.d.ts +30 -0
- package/core/sdk/SDKSettings.d.ts +53 -0
- package/core/sdk/ScopeTreeCache.d.ts +21 -0
- package/core/sdk/ScreenCaptureModel.d.ts +69 -0
- package/core/sdk/Script.d.ts +134 -0
- package/core/sdk/SecurityOrigin.d.ts +108 -0
- package/core/sdk/SecurityOriginManager.d.ts +23 -0
- package/core/sdk/ServerSentEvents.d.ts +18 -0
- package/core/sdk/ServerSentEventsProtocol.d.ts +18 -0
- package/core/sdk/ServerTiming.d.ts +24 -0
- package/core/sdk/ServiceWorkerCacheModel.d.ts +71 -0
- package/core/sdk/ServiceWorkerManager.d.ts +125 -0
- package/core/sdk/SourceMap.d.ts +197 -0
- package/core/sdk/SourceMapCache.d.ts +12 -0
- package/core/sdk/SourceMapFunctionRanges.d.ts +26 -0
- package/core/sdk/SourceMapManager.d.ts +46 -0
- package/core/sdk/SourceMapRangeMappings.d.ts +15 -0
- package/core/sdk/SourceMapScopeChainEntry.d.ts +23 -0
- package/core/sdk/SourceMapScopesInfo.d.ts +109 -0
- package/core/sdk/StorageBucketsModel.d.ts +48 -0
- package/core/sdk/StorageKeyManager.d.ts +38 -0
- package/core/sdk/Target.d.ts +79 -0
- package/core/sdk/TargetManager.d.ts +92 -0
- package/core/sdk/TraceObject.d.ts +43 -0
- package/core/sdk/WebAuthnModel.d.ts +29 -0
- package/core/sdk/sdk.d.ts +97 -1
- package/core/text_utils/CodeMirrorUtils.d.ts +3 -0
- package/core/text_utils/ContentData.d.ts +94 -0
- package/core/text_utils/ContentProvider.d.ts +42 -0
- package/core/text_utils/StaticContentProvider.d.ts +13 -0
- package/core/text_utils/StreamingContentData.d.ts +49 -0
- package/core/text_utils/Text.d.ts +19 -0
- package/core/text_utils/TextCursor.d.ts +9 -0
- package/core/text_utils/TextRange.d.ts +81 -0
- package/core/text_utils/TextUtils.d.ts +97 -0
- package/core/text_utils/WasmDisassembly.d.ts +29 -0
- package/core/text_utils/text_utils.d.ts +11 -0
- package/entrypoints/formatter_actions/formatter_actions.d.ts +48 -0
- package/generated/InspectorBackendCommands.d.ts +14 -0
- package/generated/SupportedCSSProperties.d.ts +18 -0
- package/generated/protocol-mapping.d.ts +5930 -0
- package/generated/protocol-proxy-api.d.ts +5396 -0
- package/generated/protocol.d.ts +26 -72
- package/index.d.ts +2 -0
- package/index.js +6 -0
- package/locales/af.json +171 -174
- package/locales/am.json +351 -354
- package/locales/ar.json +352 -355
- package/locales/as.json +350 -353
- package/locales/az.json +341 -344
- package/locales/be.json +351 -354
- package/locales/bg.json +351 -354
- package/locales/bn.json +351 -354
- package/locales/bs.json +253 -256
- package/locales/ca.json +283 -286
- package/locales/cs.json +336 -339
- package/locales/cy.json +144 -147
- package/locales/da.json +232 -235
- package/locales/de.json +251 -254
- package/locales/el.json +336 -339
- package/locales/en-GB.json +132 -135
- package/locales/en-US.json +294 -297
- package/locales/es-419.json +282 -285
- package/locales/es.json +282 -285
- package/locales/et.json +236 -239
- package/locales/eu.json +131 -134
- package/locales/fa.json +351 -354
- package/locales/fi.json +283 -286
- package/locales/fil.json +128 -131
- package/locales/fr-CA.json +310 -313
- package/locales/fr.json +309 -312
- package/locales/gl.json +264 -267
- package/locales/gu.json +352 -355
- package/locales/he.json +352 -355
- package/locales/hi.json +336 -339
- package/locales/hr.json +257 -260
- package/locales/hu.json +342 -345
- package/locales/hy.json +351 -354
- package/locales/id.json +128 -131
- package/locales/is.json +304 -307
- package/locales/it.json +221 -224
- package/locales/ja.json +351 -354
- package/locales/ka.json +352 -355
- package/locales/kk.json +352 -355
- package/locales/km.json +351 -354
- package/locales/kn.json +352 -355
- package/locales/ko.json +351 -354
- package/locales/ky.json +350 -353
- package/locales/lo.json +352 -355
- package/locales/lt.json +323 -326
- package/locales/lv.json +317 -320
- package/locales/mk.json +352 -355
- package/locales/ml.json +351 -354
- package/locales/mn.json +351 -354
- package/locales/mr.json +351 -354
- package/locales/ms.json +128 -131
- package/locales/my.json +350 -353
- package/locales/ne.json +336 -339
- package/locales/nl.json +183 -186
- package/locales/no.json +238 -241
- package/locales/or.json +351 -354
- package/locales/pa.json +351 -354
- package/locales/pl.json +307 -310
- package/locales/pt-PT.json +273 -276
- package/locales/pt.json +270 -273
- package/locales/ro.json +309 -312
- package/locales/ru.json +351 -354
- package/locales/si.json +352 -355
- package/locales/sk.json +333 -336
- package/locales/sl.json +273 -276
- package/locales/sq.json +316 -319
- package/locales/sr-Latn.json +256 -259
- package/locales/sr.json +352 -355
- package/locales/sv.json +296 -299
- package/locales/sw.json +128 -131
- package/locales/ta.json +352 -355
- package/locales/te.json +350 -353
- package/locales/th.json +352 -355
- package/locales/tr.json +327 -330
- package/locales/uk.json +351 -354
- package/locales/ur.json +352 -355
- package/locales/uz.json +232 -235
- package/locales/vi.json +352 -355
- package/locales/zh-HK.json +352 -355
- package/locales/zh-TW.json +351 -354
- package/locales/zh.json +351 -354
- package/locales/zu.json +127 -130
- package/models/crux-manager/CrUXManager.d.ts +107 -0
- package/models/crux-manager/crux-manager.d.ts +1 -0
- package/models/emulation/DeviceModeModel.d.ts +156 -0
- package/models/emulation/EmulatedDevices.d.ts +148 -0
- package/models/emulation/emulation.d.ts +3 -0
- package/models/formatter/FormatterWorkerPool.d.ts +58 -0
- package/models/formatter/ScriptFormatter.d.ts +11 -0
- package/models/formatter/formatter.d.ts +3 -0
- package/models/trace/ModelImpl.d.ts +1 -1
- package/models/trace/extras/extras.d.ts +2 -7
- package/models/trace/handlers/ScriptsHandler.d.ts +2 -2
- package/models/trace/insights/CLSCulprits.d.ts +14 -14
- package/models/trace/insights/Cache.d.ts +8 -8
- package/models/trace/insights/CharacterSet.d.ts +10 -10
- package/models/trace/insights/Common.d.ts +4 -4
- package/models/trace/insights/DOMSize.d.ts +15 -15
- package/models/trace/insights/DocumentLatency.d.ts +13 -13
- package/models/trace/insights/DuplicatedJavaScript.d.ts +7 -7
- package/models/trace/insights/FontDisplay.d.ts +7 -7
- package/models/trace/insights/ForcedReflow.d.ts +9 -9
- package/models/trace/insights/INPBreakdown.d.ts +10 -10
- package/models/trace/insights/ImageDelivery.d.ts +12 -13
- package/models/trace/insights/LCPBreakdown.d.ts +13 -13
- package/models/trace/insights/LCPDiscovery.d.ts +12 -12
- package/models/trace/insights/LegacyJavaScript.d.ts +7 -7
- package/models/trace/insights/ModernHTTP.d.ts +7 -7
- package/models/trace/insights/NetworkDependencyTree.d.ts +21 -104
- package/models/trace/insights/RenderBlocking.d.ts +7 -7
- package/models/trace/insights/SlowCSSSelector.d.ts +12 -12
- package/models/trace/insights/ThirdParties.d.ts +8 -8
- package/models/trace/insights/Viewport.d.ts +5 -5
- package/models/trace/insights/types.d.ts +1 -1
- package/models/trace/lantern/core/NetworkAnalyzer.d.ts +0 -1
- package/models/trace/lantern/graph/BaseNode.d.ts +2 -2
- package/models/trace/lantern/graph/CPUNode.d.ts +2 -4
- package/models/trace/lantern/simulation/TCPConnection.d.ts +4 -4
- package/models/trace/lantern/types/Lantern.d.ts +19 -27
- package/models/trace/trace.js +544 -16
- package/models/trace/types/Configuration.d.ts +1 -1
- package/models/trace/types/Extensions.d.ts +1 -1
- package/models/trace/types/File.d.ts +5 -5
- package/models/trace/types/TraceEvents.d.ts +24 -24
- package/package.json +37 -8
- package/third_party/codemirror.next/codemirror.next.d.ts +9196 -0
- package/third_party/i18n/i18n-impl.d.ts +25 -0
- package/third_party/i18n/i18n.d.ts +3 -0
- package/third_party/i18n/localized-string-set.d.ts +49 -0
- package/third_party/intl-messageformat/intl-messageformat.d.ts +1 -0
- package/third_party/source-map-scopes-codec/package/src/builder/builder.d.ts +67 -0
- package/third_party/source-map-scopes-codec/package/src/builder/safe_builder.d.ts +38 -0
- package/third_party/source-map-scopes-codec/package/src/codec.d.ts +48 -0
- package/third_party/source-map-scopes-codec/package/src/decode/decode.d.ts +31 -0
- package/third_party/source-map-scopes-codec/package/src/encode/encode.d.ts +8 -0
- package/third_party/source-map-scopes-codec/package/src/encode/encoder.d.ts +6 -0
- package/third_party/source-map-scopes-codec/package/src/mod.d.ts +5 -0
- package/third_party/source-map-scopes-codec/package/src/scopes.d.ts +168 -0
- package/third_party/source-map-scopes-codec/package/src/util.d.ts +5 -0
- package/third_party/source-map-scopes-codec/package/src/vlq.d.ts +14 -0
- package/third_party/source-map-scopes-codec/source-map-scopes-codec.d.ts +1 -0
- package/third_party/third-party-web/lib/nostats-subset.d.ts +2 -0
- package/third_party/third-party-web/package/lib/index.d.ts +34 -0
- package/third_party/third-party-web/package/lib/subsets/nostats.d.ts +1 -0
- package/third_party/third-party-web/third-party-web.d.ts +2 -1
- package/.tmp/tsbuildinfo/analyze-inspector-issues.d.mts +0 -13
- package/.tmp/tsbuildinfo/analyze-inspector-issues.d.mts.map +0 -1
- package/.tmp/tsbuildinfo/analyze-trace.d.mts +0 -17
- package/.tmp/tsbuildinfo/analyze-trace.d.mts.map +0 -1
- package/.tmp/tsbuildinfo/models/trace/extras/polyfills.d.ts +0 -4
- package/.tmp/tsbuildinfo/models/trace/extras/polyfills.d.ts.map +0 -1
- package/.tmp/tsbuildinfo/test/test-trace-engine.d.mts +0 -2
- package/.tmp/tsbuildinfo/test/test-trace-engine.d.mts.map +0 -1
- package/.tmp/tsbuildinfo/third_party/third-party-web/third-party-web.d.ts +0 -3
- package/.tmp/tsbuildinfo/third_party/third-party-web/third-party-web.d.ts.map +0 -1
- package/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +0 -1
- package/analyze-inspector-issues.mjs +0 -60
- package/core/common/common.js +0 -1
- package/core/host/host.js +0 -1
- package/core/platform/ArrayUtilities.js +0 -224
- package/core/platform/ArrayUtilities.js.map +0 -1
- package/core/platform/Brand.js +0 -5
- package/core/platform/Brand.js.map +0 -1
- package/core/platform/Constructor.js +0 -5
- package/core/platform/Constructor.js.map +0 -1
- package/core/platform/DateUtilities.js +0 -14
- package/core/platform/DateUtilities.js.map +0 -1
- package/core/platform/DevToolsPath.js +0 -28
- package/core/platform/DevToolsPath.js.map +0 -1
- package/core/platform/HostRuntime.js +0 -31
- package/core/platform/HostRuntime.js.map +0 -1
- package/core/platform/KeyboardUtilities.js +0 -34
- package/core/platform/KeyboardUtilities.js.map +0 -1
- package/core/platform/MapUtilities.js +0 -80
- package/core/platform/MapUtilities.js.map +0 -1
- package/core/platform/MimeType.js +0 -157
- package/core/platform/MimeType.js.map +0 -1
- package/core/platform/NumberUtilities.js +0 -73
- package/core/platform/NumberUtilities.js.map +0 -1
- package/core/platform/Size.js +0 -36
- package/core/platform/Size.js.map +0 -1
- package/core/platform/StringUtilities.js +0 -731
- package/core/platform/StringUtilities.js.map +0 -1
- package/core/platform/Timing.js +0 -10
- package/core/platform/Timing.js.map +0 -1
- package/core/platform/TypedArrayUtilities.js +0 -158
- package/core/platform/TypedArrayUtilities.js.map +0 -1
- package/core/platform/TypescriptUtilities.js +0 -17
- package/core/platform/TypescriptUtilities.js.map +0 -1
- package/core/platform/UIString.js +0 -5
- package/core/platform/UIString.js.map +0 -1
- package/core/platform/UserVisibleError.js +0 -23
- package/core/platform/UserVisibleError.js.map +0 -1
- package/core/platform/api/HostRuntime.js +0 -5
- package/core/platform/api/HostRuntime.js.map +0 -1
- package/core/platform/api/api-tsconfig.json +0 -58
- package/core/platform/api/api-tsconfig.ref.json +0 -26
- package/core/platform/api/api.js +0 -6
- package/core/platform/api/api.js.map +0 -1
- package/core/platform/browser/HostRuntime.js +0 -165
- package/core/platform/browser/HostRuntime.js.map +0 -1
- package/core/platform/browser/browser-tsconfig.json +0 -59
- package/core/platform/browser/browser-tsconfig.ref.json +0 -27
- package/core/platform/browser/browser.js +0 -6
- package/core/platform/browser/browser.js.map +0 -1
- package/core/platform/browser/bundle-tsconfig.json +0 -59
- package/core/platform/browser/bundle-tsconfig.ref.json +0 -27
- package/core/platform/bundle-tsconfig.json +0 -59
- package/core/platform/bundle-tsconfig.ref.json +0 -27
- package/core/platform/foundation_unittests-tsconfig.json +0 -73
- package/core/platform/foundation_unittests-tsconfig.ref.json +0 -40
- package/core/platform/foundation_unittests_node_typecheck-tsconfig.json +0 -70
- package/core/platform/node/HostRuntime.js +0 -127
- package/core/platform/node/HostRuntime.js.map +0 -1
- package/core/platform/node/bundle-tsconfig.json +0 -59
- package/core/platform/node/bundle-tsconfig.ref.json +0 -27
- package/core/platform/node/node-tsconfig.json +0 -59
- package/core/platform/node/node-tsconfig.ref.json +0 -27
- package/core/platform/node/node.js +0 -6
- package/core/platform/node/node.js.map +0 -1
- package/core/platform/platform-tsconfig.json +0 -81
- package/core/platform/platform-tsconfig.ref.json +0 -49
- package/core/platform/platform.js +0 -28
- package/core/platform/platform.js.map +0 -1
- package/core/platform/platform_node_typecheck-tsconfig.json +0 -78
- package/core/platform/platform_node_typecheck.stamp +0 -0
- package/core/root/root.js +0 -1
- package/core/sdk/sdk.js +0 -1
- package/generated/protocol.js +0 -3304
- package/locales/en-XL.json +0 -1058
- package/models/cpu_profile/CPUProfileDataModel.js +0 -517
- package/models/cpu_profile/CPUProfileDataModel.js.map +0 -1
- package/models/cpu_profile/ProfileTreeModel.js +0 -90
- package/models/cpu_profile/ProfileTreeModel.js.map +0 -1
- package/models/cpu_profile/bundle-tsconfig.json +0 -59
- package/models/cpu_profile/bundle-tsconfig.ref.json +0 -27
- package/models/cpu_profile/cpu_profile-tsconfig.json +0 -63
- package/models/cpu_profile/cpu_profile-tsconfig.ref.json +0 -31
- package/models/cpu_profile/cpu_profile.js +0 -7
- package/models/cpu_profile/cpu_profile.js.map +0 -1
- package/models/cpu_profile/cpu_profile_node_typecheck-tsconfig.json +0 -60
- package/models/cpu_profile/cpu_profile_node_typecheck.stamp +0 -0
- package/models/cpu_profile/foundation_unittests-tsconfig.json +0 -63
- package/models/cpu_profile/foundation_unittests-tsconfig.ref.json +0 -30
- package/models/cpu_profile/foundation_unittests_node_typecheck-tsconfig.json +0 -60
- package/models/issues_manager/CheckFormsIssuesTrigger.d.ts +0 -1
- package/models/issues_manager/CheckFormsIssuesTrigger.js +0 -1
- package/models/issues_manager/ContrastCheckTrigger.d.ts +0 -1
- package/models/issues_manager/ContrastCheckTrigger.js +0 -1
- package/models/issues_manager/DeprecationIssue.d.ts +0 -1
- package/models/issues_manager/DeprecationIssue.js +0 -1
- package/models/issues_manager/IssueResolver.d.ts +0 -1
- package/models/issues_manager/IssueResolver.js +0 -1
- package/models/issues_manager/RelatedIssue.d.ts +0 -1
- package/models/issues_manager/RelatedIssue.js +0 -1
- package/models/issues_manager/SourceFrameIssuesManager.d.ts +0 -1
- package/models/issues_manager/SourceFrameIssuesManager.js +0 -1
- package/models/trace/EntityMapper.js +0 -133
- package/models/trace/EntityMapper.js.map +0 -1
- package/models/trace/EventsSerializer.js +0 -90
- package/models/trace/EventsSerializer.js.map +0 -1
- package/models/trace/LanternComputationData.js +0 -374
- package/models/trace/LanternComputationData.js.map +0 -1
- package/models/trace/LegacyTracingModel.d.ts +0 -1
- package/models/trace/LegacyTracingModel.js +0 -1
- package/models/trace/ModelImpl.js +0 -181
- package/models/trace/ModelImpl.js.map +0 -1
- package/models/trace/Name.js +0 -115
- package/models/trace/Name.js.map +0 -1
- package/models/trace/Processor.js +0 -618
- package/models/trace/Processor.js.map +0 -1
- package/models/trace/Styles.js +0 -836
- package/models/trace/Styles.js.map +0 -1
- package/models/trace/TracingManager.d.ts +0 -1
- package/models/trace/TracingManager.js +0 -1
- package/models/trace/bundle-tsconfig.json +0 -77
- package/models/trace/bundle-tsconfig.ref.json +0 -45
- package/models/trace/extras/FilmStrip.js +0 -45
- package/models/trace/extras/FilmStrip.js.map +0 -1
- package/models/trace/extras/Initiators.js +0 -47
- package/models/trace/extras/Initiators.js.map +0 -1
- package/models/trace/extras/MainThreadActivity.js +0 -77
- package/models/trace/extras/MainThreadActivity.js.map +0 -1
- package/models/trace/extras/ScriptDuplication.js +0 -163
- package/models/trace/extras/ScriptDuplication.js.map +0 -1
- package/models/trace/extras/StackTraceForEvent.js +0 -192
- package/models/trace/extras/StackTraceForEvent.js.map +0 -1
- package/models/trace/extras/ThirdParties.js +0 -119
- package/models/trace/extras/ThirdParties.js.map +0 -1
- package/models/trace/extras/TraceFilter.js +0 -51
- package/models/trace/extras/TraceFilter.js.map +0 -1
- package/models/trace/extras/TraceTree.js +0 -621
- package/models/trace/extras/TraceTree.js.map +0 -1
- package/models/trace/extras/bundle-tsconfig.json +0 -59
- package/models/trace/extras/bundle-tsconfig.ref.json +0 -27
- package/models/trace/extras/extras-tsconfig.json +0 -81
- package/models/trace/extras/extras-tsconfig.ref.json +0 -49
- package/models/trace/extras/extras.js +0 -13
- package/models/trace/extras/extras.js.map +0 -1
- package/models/trace/extras/extras_node_typecheck-tsconfig.json +0 -78
- package/models/trace/extras/extras_node_typecheck.stamp +0 -0
- package/models/trace/extras/foundation_unittests-tsconfig.json +0 -91
- package/models/trace/extras/foundation_unittests-tsconfig.ref.json +0 -58
- package/models/trace/extras/foundation_unittests_node_typecheck-tsconfig.json +0 -88
- package/models/trace/foundation_unittests-tsconfig.json +0 -70
- package/models/trace/foundation_unittests-tsconfig.ref.json +0 -37
- package/models/trace/foundation_unittests_node_typecheck-tsconfig.json +0 -67
- package/models/trace/handlers/AnimationFramesHandler.js +0 -110
- package/models/trace/handlers/AnimationFramesHandler.js.map +0 -1
- package/models/trace/handlers/AnimationHandler.js +0 -27
- package/models/trace/handlers/AnimationHandler.js.map +0 -1
- package/models/trace/handlers/AsyncJSCallsHandler.js +0 -188
- package/models/trace/handlers/AsyncJSCallsHandler.js.map +0 -1
- package/models/trace/handlers/DOMStatsHandler.js +0 -22
- package/models/trace/handlers/DOMStatsHandler.js.map +0 -1
- package/models/trace/handlers/ExtensionTraceDataHandler.js +0 -264
- package/models/trace/handlers/ExtensionTraceDataHandler.js.map +0 -1
- package/models/trace/handlers/FlowsHandler.js +0 -149
- package/models/trace/handlers/FlowsHandler.js.map +0 -1
- package/models/trace/handlers/FramesHandler.js +0 -491
- package/models/trace/handlers/FramesHandler.js.map +0 -1
- package/models/trace/handlers/GPUHandler.js +0 -36
- package/models/trace/handlers/GPUHandler.js.map +0 -1
- package/models/trace/handlers/ImagePaintingHandler.js +0 -148
- package/models/trace/handlers/ImagePaintingHandler.js.map +0 -1
- package/models/trace/handlers/InitiatorsHandler.js +0 -181
- package/models/trace/handlers/InitiatorsHandler.js.map +0 -1
- package/models/trace/handlers/InvalidationsHandler.js +0 -127
- package/models/trace/handlers/InvalidationsHandler.js.map +0 -1
- package/models/trace/handlers/LargestImagePaintHandler.js +0 -86
- package/models/trace/handlers/LargestImagePaintHandler.js.map +0 -1
- package/models/trace/handlers/LargestTextPaintHandler.js +0 -28
- package/models/trace/handlers/LargestTextPaintHandler.js.map +0 -1
- package/models/trace/handlers/LayerTreeHandler.js +0 -104
- package/models/trace/handlers/LayerTreeHandler.js.map +0 -1
- package/models/trace/handlers/LayoutShiftsHandler.js +0 -457
- package/models/trace/handlers/LayoutShiftsHandler.js.map +0 -1
- package/models/trace/handlers/MemoryHandler.js +0 -22
- package/models/trace/handlers/MemoryHandler.js.map +0 -1
- package/models/trace/handlers/MetaHandler.js +0 -442
- package/models/trace/handlers/MetaHandler.js.map +0 -1
- package/models/trace/handlers/ModelHandlers.js +0 -33
- package/models/trace/handlers/ModelHandlers.js.map +0 -1
- package/models/trace/handlers/NetworkRequestsHandler.js +0 -578
- package/models/trace/handlers/NetworkRequestsHandler.js.map +0 -1
- package/models/trace/handlers/PageFramesHandler.js +0 -43
- package/models/trace/handlers/PageFramesHandler.js.map +0 -1
- package/models/trace/handlers/PageLoadMetricsHandler.js +0 -462
- package/models/trace/handlers/PageLoadMetricsHandler.js.map +0 -1
- package/models/trace/handlers/RendererHandler.js +0 -346
- package/models/trace/handlers/RendererHandler.js.map +0 -1
- package/models/trace/handlers/SamplesHandler.js +0 -261
- package/models/trace/handlers/SamplesHandler.js.map +0 -1
- package/models/trace/handlers/ScreenshotsHandler.js +0 -56
- package/models/trace/handlers/ScreenshotsHandler.js.map +0 -1
- package/models/trace/handlers/ScriptsHandler.js +0 -286
- package/models/trace/handlers/ScriptsHandler.js.map +0 -1
- package/models/trace/handlers/SelectorStatsHandler.js +0 -72
- package/models/trace/handlers/SelectorStatsHandler.js.map +0 -1
- package/models/trace/handlers/Threads.js +0 -108
- package/models/trace/handlers/Threads.js.map +0 -1
- package/models/trace/handlers/UserInteractionsHandler.js +0 -319
- package/models/trace/handlers/UserInteractionsHandler.js.map +0 -1
- package/models/trace/handlers/UserTimingsHandler.js +0 -194
- package/models/trace/handlers/UserTimingsHandler.js.map +0 -1
- package/models/trace/handlers/WarningsHandler.js +0 -135
- package/models/trace/handlers/WarningsHandler.js.map +0 -1
- package/models/trace/handlers/WorkersHandler.js +0 -34
- package/models/trace/handlers/WorkersHandler.js.map +0 -1
- package/models/trace/handlers/bundle-tsconfig.json +0 -59
- package/models/trace/handlers/bundle-tsconfig.ref.json +0 -27
- package/models/trace/handlers/foundation_unittests-tsconfig.json +0 -102
- package/models/trace/handlers/foundation_unittests-tsconfig.ref.json +0 -69
- package/models/trace/handlers/foundation_unittests_node_typecheck-tsconfig.json +0 -99
- package/models/trace/handlers/handlers-tsconfig.json +0 -112
- package/models/trace/handlers/handlers-tsconfig.ref.json +0 -80
- package/models/trace/handlers/handlers.js +0 -8
- package/models/trace/handlers/handlers.js.map +0 -1
- package/models/trace/handlers/handlers_node_typecheck-tsconfig.json +0 -109
- package/models/trace/handlers/handlers_node_typecheck.stamp +0 -0
- package/models/trace/handlers/helpers.js +0 -164
- package/models/trace/handlers/helpers.js.map +0 -1
- package/models/trace/handlers/types.js +0 -2
- package/models/trace/handlers/types.js.map +0 -1
- package/models/trace/helpers/Extensions.js +0 -42
- package/models/trace/helpers/Extensions.js.map +0 -1
- package/models/trace/helpers/Network.js +0 -103
- package/models/trace/helpers/Network.js.map +0 -1
- package/models/trace/helpers/SamplesIntegrator.js +0 -512
- package/models/trace/helpers/SamplesIntegrator.js.map +0 -1
- package/models/trace/helpers/SyntheticEvents.js +0 -94
- package/models/trace/helpers/SyntheticEvents.js.map +0 -1
- package/models/trace/helpers/Timing.js +0 -207
- package/models/trace/helpers/Timing.js.map +0 -1
- package/models/trace/helpers/Trace.js +0 -817
- package/models/trace/helpers/Trace.js.map +0 -1
- package/models/trace/helpers/TreeHelpers.js +0 -255
- package/models/trace/helpers/TreeHelpers.js.map +0 -1
- package/models/trace/helpers/bundle-tsconfig.json +0 -59
- package/models/trace/helpers/bundle-tsconfig.ref.json +0 -27
- package/models/trace/helpers/foundation_unittests-tsconfig.json +0 -73
- package/models/trace/helpers/foundation_unittests-tsconfig.ref.json +0 -40
- package/models/trace/helpers/foundation_unittests_node_typecheck-tsconfig.json +0 -70
- package/models/trace/helpers/helpers-tsconfig.json +0 -77
- package/models/trace/helpers/helpers-tsconfig.ref.json +0 -45
- package/models/trace/helpers/helpers.js +0 -11
- package/models/trace/helpers/helpers.js.map +0 -1
- package/models/trace/helpers/helpers_node_typecheck-tsconfig.json +0 -74
- package/models/trace/helpers/helpers_node_typecheck.stamp +0 -0
- package/models/trace/insights/CLSCulprits.js +0 -519
- package/models/trace/insights/CLSCulprits.js.map +0 -1
- package/models/trace/insights/Cache.js +0 -210
- package/models/trace/insights/Cache.js.map +0 -1
- package/models/trace/insights/CharacterSet.js +0 -132
- package/models/trace/insights/CharacterSet.js.map +0 -1
- package/models/trace/insights/Common.js +0 -366
- package/models/trace/insights/Common.js.map +0 -1
- package/models/trace/insights/DOMSize.js +0 -182
- package/models/trace/insights/DOMSize.js.map +0 -1
- package/models/trace/insights/DocumentLatency.js +0 -259
- package/models/trace/insights/DocumentLatency.js.map +0 -1
- package/models/trace/insights/DuplicatedJavaScript.js +0 -99
- package/models/trace/insights/DuplicatedJavaScript.js.map +0 -1
- package/models/trace/insights/FontDisplay.js +0 -93
- package/models/trace/insights/FontDisplay.js.map +0 -1
- package/models/trace/insights/ForcedReflow.js +0 -162
- package/models/trace/insights/ForcedReflow.js.map +0 -1
- package/models/trace/insights/INPBreakdown.js +0 -130
- package/models/trace/insights/INPBreakdown.js.map +0 -1
- package/models/trace/insights/ImageDelivery.js +0 -264
- package/models/trace/insights/ImageDelivery.js.map +0 -1
- package/models/trace/insights/LCPBreakdown.js +0 -200
- package/models/trace/insights/LCPBreakdown.js.map +0 -1
- package/models/trace/insights/LCPDiscovery.js +0 -190
- package/models/trace/insights/LCPDiscovery.js.map +0 -1
- package/models/trace/insights/LegacyJavaScript.js +0 -99
- package/models/trace/insights/LegacyJavaScript.js.map +0 -1
- package/models/trace/insights/Models.js +0 -23
- package/models/trace/insights/Models.js.map +0 -1
- package/models/trace/insights/ModernHTTP.js +0 -205
- package/models/trace/insights/ModernHTTP.js.map +0 -1
- package/models/trace/insights/NetworkDependencyTree.js +0 -972
- package/models/trace/insights/NetworkDependencyTree.js.map +0 -1
- package/models/trace/insights/RenderBlocking.js +0 -191
- package/models/trace/insights/RenderBlocking.js.map +0 -1
- package/models/trace/insights/SlowCSSSelector.js +0 -140
- package/models/trace/insights/SlowCSSSelector.js.map +0 -1
- package/models/trace/insights/Statistics.js +0 -93
- package/models/trace/insights/Statistics.js.map +0 -1
- package/models/trace/insights/ThirdParties.js +0 -110
- package/models/trace/insights/ThirdParties.js.map +0 -1
- package/models/trace/insights/Viewport.js +0 -105
- package/models/trace/insights/Viewport.js.map +0 -1
- package/models/trace/insights/bundle-tsconfig.json +0 -59
- package/models/trace/insights/bundle-tsconfig.ref.json +0 -27
- package/models/trace/insights/foundation_unittests-tsconfig.json +0 -98
- package/models/trace/insights/foundation_unittests-tsconfig.ref.json +0 -65
- package/models/trace/insights/foundation_unittests_node_typecheck-tsconfig.json +0 -95
- package/models/trace/insights/insights-tsconfig.json +0 -114
- package/models/trace/insights/insights-tsconfig.ref.json +0 -82
- package/models/trace/insights/insights.js +0 -10
- package/models/trace/insights/insights.js.map +0 -1
- package/models/trace/insights/insights_node_typecheck-tsconfig.json +0 -111
- package/models/trace/insights/insights_node_typecheck.stamp +0 -0
- package/models/trace/insights/types.js +0 -41
- package/models/trace/insights/types.js.map +0 -1
- package/models/trace/lantern/bundle-tsconfig.json +0 -71
- package/models/trace/lantern/bundle-tsconfig.ref.json +0 -39
- package/models/trace/lantern/core/LanternError.js +0 -7
- package/models/trace/lantern/core/LanternError.js.map +0 -1
- package/models/trace/lantern/core/NetworkAnalyzer.js +0 -488
- package/models/trace/lantern/core/NetworkAnalyzer.js.map +0 -1
- package/models/trace/lantern/core/bundle-tsconfig.json +0 -59
- package/models/trace/lantern/core/bundle-tsconfig.ref.json +0 -27
- package/models/trace/lantern/core/core-tsconfig.json +0 -60
- package/models/trace/lantern/core/core-tsconfig.ref.json +0 -28
- package/models/trace/lantern/core/core.js +0 -6
- package/models/trace/lantern/core/core.js.map +0 -1
- package/models/trace/lantern/core/core_node_typecheck-tsconfig.json +0 -57
- package/models/trace/lantern/core/core_node_typecheck.stamp +0 -0
- package/models/trace/lantern/core/foundation_unittests-tsconfig.json +0 -69
- package/models/trace/lantern/core/foundation_unittests-tsconfig.ref.json +0 -36
- package/models/trace/lantern/core/foundation_unittests_node_typecheck-tsconfig.json +0 -66
- package/models/trace/lantern/graph/BaseNode.js +0 -277
- package/models/trace/lantern/graph/BaseNode.js.map +0 -1
- package/models/trace/lantern/graph/CPUNode.js +0 -80
- package/models/trace/lantern/graph/CPUNode.js.map +0 -1
- package/models/trace/lantern/graph/NetworkNode.js +0 -95
- package/models/trace/lantern/graph/NetworkNode.js.map +0 -1
- package/models/trace/lantern/graph/PageDependencyGraph.js +0 -574
- package/models/trace/lantern/graph/PageDependencyGraph.js.map +0 -1
- package/models/trace/lantern/graph/bundle-tsconfig.json +0 -59
- package/models/trace/lantern/graph/bundle-tsconfig.ref.json +0 -27
- package/models/trace/lantern/graph/foundation_unittests-tsconfig.json +0 -61
- package/models/trace/lantern/graph/foundation_unittests-tsconfig.ref.json +0 -28
- package/models/trace/lantern/graph/foundation_unittests_node_typecheck-tsconfig.json +0 -58
- package/models/trace/lantern/graph/graph-tsconfig.json +0 -65
- package/models/trace/lantern/graph/graph-tsconfig.ref.json +0 -33
- package/models/trace/lantern/graph/graph.js +0 -8
- package/models/trace/lantern/graph/graph.js.map +0 -1
- package/models/trace/lantern/graph/graph_node_typecheck-tsconfig.json +0 -62
- package/models/trace/lantern/graph/graph_node_typecheck.stamp +0 -0
- package/models/trace/lantern/lantern.js +0 -10
- package/models/trace/lantern/lantern.js.map +0 -1
- package/models/trace/lantern/metrics/FirstContentfulPaint.js +0 -137
- package/models/trace/lantern/metrics/FirstContentfulPaint.js.map +0 -1
- package/models/trace/lantern/metrics/Interactive.js +0 -68
- package/models/trace/lantern/metrics/Interactive.js.map +0 -1
- package/models/trace/lantern/metrics/LargestContentfulPaint.js +0 -69
- package/models/trace/lantern/metrics/LargestContentfulPaint.js.map +0 -1
- package/models/trace/lantern/metrics/MaxPotentialFID.js +0 -49
- package/models/trace/lantern/metrics/MaxPotentialFID.js.map +0 -1
- package/models/trace/lantern/metrics/Metric.js +0 -69
- package/models/trace/lantern/metrics/Metric.js.map +0 -1
- package/models/trace/lantern/metrics/SpeedIndex.js +0 -102
- package/models/trace/lantern/metrics/SpeedIndex.js.map +0 -1
- package/models/trace/lantern/metrics/TBTUtils.js +0 -65
- package/models/trace/lantern/metrics/TBTUtils.js.map +0 -1
- package/models/trace/lantern/metrics/TotalBlockingTime.js +0 -79
- package/models/trace/lantern/metrics/TotalBlockingTime.js.map +0 -1
- package/models/trace/lantern/metrics/bundle-tsconfig.json +0 -59
- package/models/trace/lantern/metrics/bundle-tsconfig.ref.json +0 -27
- package/models/trace/lantern/metrics/foundation_unittests-tsconfig.json +0 -76
- package/models/trace/lantern/metrics/foundation_unittests-tsconfig.ref.json +0 -43
- package/models/trace/lantern/metrics/foundation_unittests_node_typecheck-tsconfig.json +0 -73
- package/models/trace/lantern/metrics/metrics-tsconfig.json +0 -75
- package/models/trace/lantern/metrics/metrics-tsconfig.ref.json +0 -43
- package/models/trace/lantern/metrics/metrics.js +0 -12
- package/models/trace/lantern/metrics/metrics.js.map +0 -1
- package/models/trace/lantern/metrics/metrics_node_typecheck-tsconfig.json +0 -72
- package/models/trace/lantern/metrics/metrics_node_typecheck.stamp +0 -0
- package/models/trace/lantern/simulation/ConnectionPool.js +0 -116
- package/models/trace/lantern/simulation/ConnectionPool.js.map +0 -1
- package/models/trace/lantern/simulation/Constants.js +0 -45
- package/models/trace/lantern/simulation/Constants.js.map +0 -1
- package/models/trace/lantern/simulation/DNSCache.js +0 -48
- package/models/trace/lantern/simulation/DNSCache.js.map +0 -1
- package/models/trace/lantern/simulation/SimulationTimingMap.js +0 -135
- package/models/trace/lantern/simulation/SimulationTimingMap.js.map +0 -1
- package/models/trace/lantern/simulation/Simulator.js +0 -455
- package/models/trace/lantern/simulation/Simulator.js.map +0 -1
- package/models/trace/lantern/simulation/TCPConnection.js +0 -155
- package/models/trace/lantern/simulation/TCPConnection.js.map +0 -1
- package/models/trace/lantern/simulation/bundle-tsconfig.json +0 -59
- package/models/trace/lantern/simulation/bundle-tsconfig.ref.json +0 -27
- package/models/trace/lantern/simulation/foundation_unittests-tsconfig.json +0 -75
- package/models/trace/lantern/simulation/foundation_unittests-tsconfig.ref.json +0 -42
- package/models/trace/lantern/simulation/foundation_unittests_node_typecheck-tsconfig.json +0 -72
- package/models/trace/lantern/simulation/simulation-tsconfig.json +0 -70
- package/models/trace/lantern/simulation/simulation-tsconfig.ref.json +0 -38
- package/models/trace/lantern/simulation/simulation.js +0 -10
- package/models/trace/lantern/simulation/simulation.js.map +0 -1
- package/models/trace/lantern/simulation/simulation_node_typecheck-tsconfig.json +0 -67
- package/models/trace/lantern/simulation/simulation_node_typecheck.stamp +0 -0
- package/models/trace/lantern/testing/bundle-tsconfig.json +0 -60
- package/models/trace/lantern/testing/bundle-tsconfig.ref.json +0 -27
- package/models/trace/lantern/testing/testing-tsconfig.json +0 -63
- package/models/trace/lantern/testing/testing-tsconfig.ref.json +0 -30
- package/models/trace/lantern/types/Lantern.js +0 -25
- package/models/trace/lantern/types/Lantern.js.map +0 -1
- package/models/trace/lantern/types/bundle-tsconfig.json +0 -59
- package/models/trace/lantern/types/bundle-tsconfig.ref.json +0 -27
- package/models/trace/lantern/types/types-tsconfig.json +0 -59
- package/models/trace/lantern/types/types-tsconfig.ref.json +0 -27
- package/models/trace/lantern/types/types.js +0 -5
- package/models/trace/lantern/types/types.js.map +0 -1
- package/models/trace/lantern/types/types_node_typecheck-tsconfig.json +0 -56
- package/models/trace/lantern/types/types_node_typecheck.stamp +0 -0
- package/models/trace/trace-tsconfig.json +0 -89
- package/models/trace/trace-tsconfig.ref.json +0 -57
- package/models/trace/trace.js.map +0 -1
- package/models/trace/trace_node_typecheck-tsconfig.json +0 -86
- package/models/trace/trace_node_typecheck.stamp +0 -0
- package/models/trace/types/Configuration.js +0 -19
- package/models/trace/types/Configuration.js.map +0 -1
- package/models/trace/types/Extensions.js +0 -38
- package/models/trace/types/Extensions.js.map +0 -1
- package/models/trace/types/File.js +0 -82
- package/models/trace/types/File.js.map +0 -1
- package/models/trace/types/Overlays.js +0 -5
- package/models/trace/types/Overlays.js.map +0 -1
- package/models/trace/types/Timing.js +0 -16
- package/models/trace/types/Timing.js.map +0 -1
- package/models/trace/types/TraceEvents.js +0 -986
- package/models/trace/types/TraceEvents.js.map +0 -1
- package/models/trace/types/bundle-tsconfig.json +0 -59
- package/models/trace/types/bundle-tsconfig.ref.json +0 -27
- package/models/trace/types/foundation_unittests-tsconfig.json +0 -67
- package/models/trace/types/foundation_unittests-tsconfig.ref.json +0 -34
- package/models/trace/types/foundation_unittests_node_typecheck-tsconfig.json +0 -64
- package/models/trace/types/types-tsconfig.json +0 -76
- package/models/trace/types/types-tsconfig.ref.json +0 -44
- package/models/trace/types/types.js +0 -10
- package/models/trace/types/types.js.map +0 -1
- package/models/trace/types/types_node_typecheck-tsconfig.json +0 -73
- package/models/trace/types/types_node_typecheck.stamp +0 -0
- package/test/invalid-animation-events.json.gz +0 -0
- package/test/test-trace-engine.mjs +0 -191
- package/third_party/legacy-javascript/bundle-tsconfig.json +0 -59
- package/third_party/legacy-javascript/bundle-tsconfig.ref.json +0 -27
- package/third_party/legacy-javascript/legacy-javascript-tsconfig.ref.json +0 -15
- package/third_party/legacy-javascript/legacy-javascript.js +0 -3
- package/third_party/legacy-javascript/legacy-javascript.js.map +0 -1
- package/third_party/legacy-javascript/lib/legacy-javascript.js +0 -1119
- package/third_party/marked/marked.d.ts +0 -1
- package/third_party/marked/marked.js +0 -1
- package/third_party/third-party-web/third-party-web.js +0 -1
- package/tsconfig.json +0 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i18n from '../../../core/i18n/i18n.js';
|
|
2
2
|
import type * as Handlers from '../handlers/handlers.js';
|
|
3
3
|
import type * as Types from '../types/types.js';
|
|
4
4
|
import { type InsightModel, type InsightSetContext } from './types.js';
|
|
@@ -6,25 +6,25 @@ export declare const UIStrings: {
|
|
|
6
6
|
/**
|
|
7
7
|
* @description Title of an insight that identifies polyfills for modern JavaScript features, and recommends their removal.
|
|
8
8
|
*/
|
|
9
|
-
readonly title:
|
|
9
|
+
readonly title: "Legacy JavaScript";
|
|
10
10
|
/**
|
|
11
11
|
* @description Description of an insight that identifies polyfills for modern JavaScript features, and recommends their removal.
|
|
12
12
|
*/
|
|
13
|
-
readonly description:
|
|
13
|
+
readonly description: "Polyfills and transforms enable older browsers to use new JavaScript features. However, many aren’t necessary for modern browsers. Consider modifying your JavaScript build process to not transpile [Baseline](https://web.dev/articles/baseline-and-polyfills) features, unless you know you must support older browsers. [Learn why most sites can deploy ES6+ code without transpiling](https://developer.chrome.com/docs/performance/insights/legacy-javascript).";
|
|
14
14
|
/**
|
|
15
15
|
* @description Label for a column in a data table; entries will be the individual JavaScript scripts.
|
|
16
16
|
*/
|
|
17
|
-
readonly columnScript:
|
|
17
|
+
readonly columnScript: "Script";
|
|
18
18
|
/**
|
|
19
19
|
* @description Label for a column in a data table; entries will be the number of wasted bytes (aka the estimated savings in terms of bytes).
|
|
20
20
|
*/
|
|
21
|
-
readonly columnWastedBytes:
|
|
21
|
+
readonly columnWastedBytes: "Wasted bytes";
|
|
22
22
|
/**
|
|
23
23
|
* @description Message shown when no legacy JavaScript is found.
|
|
24
24
|
*/
|
|
25
|
-
readonly noLegacyJavaScript:
|
|
25
|
+
readonly noLegacyJavaScript: "No legacy JavaScript found";
|
|
26
26
|
};
|
|
27
|
-
export declare const i18nString:
|
|
27
|
+
export declare const i18nString: i18n.LocalizeString;
|
|
28
28
|
export interface PatternMatchResult {
|
|
29
29
|
name: string;
|
|
30
30
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i18n from '../../../core/i18n/i18n.js';
|
|
2
2
|
import * as Handlers from '../handlers/handlers.js';
|
|
3
3
|
import * as Types from '../types/types.js';
|
|
4
4
|
import { type InsightModel, type InsightSetContext } from './types.js';
|
|
@@ -6,25 +6,25 @@ export declare const UIStrings: {
|
|
|
6
6
|
/**
|
|
7
7
|
* @description Title of an insight that recommends using HTTP/2 over HTTP/1.1 because of the performance benefits. "HTTP" should not be translated.
|
|
8
8
|
*/
|
|
9
|
-
readonly title:
|
|
9
|
+
readonly title: "Modern HTTP";
|
|
10
10
|
/**
|
|
11
11
|
* @description Description of an insight that recommends using HTTP/2 over HTTP/1.1 because of the performance benefits. "HTTP" should not be translated.
|
|
12
12
|
*/
|
|
13
|
-
readonly description:
|
|
13
|
+
readonly description: "HTTP/2 and HTTP/3 offer many benefits over HTTP/1.1, such as multiplexing. [Learn more about using modern HTTP](https://developer.chrome.com/docs/performance/insights/modern-http).";
|
|
14
14
|
/**
|
|
15
15
|
* @description Column header for a table where each cell represents a network request.
|
|
16
16
|
*/
|
|
17
|
-
readonly request:
|
|
17
|
+
readonly request: "Request";
|
|
18
18
|
/**
|
|
19
19
|
* @description Column header for a table where each cell represents the protocol of a network request.
|
|
20
20
|
*/
|
|
21
|
-
readonly protocol:
|
|
21
|
+
readonly protocol: "Protocol";
|
|
22
22
|
/**
|
|
23
23
|
* @description Text explaining that there were no requests that were slowed down by using HTTP/1.1. "HTTP/1.1" should not be translated.
|
|
24
24
|
*/
|
|
25
|
-
readonly noOldProtocolRequests:
|
|
25
|
+
readonly noOldProtocolRequests: "No requests used HTTP/1.1, or its current use of HTTP/1.1 doesn’t present a significant optimization opportunity. HTTP/1.1 requests are only flagged if six or more static assets originate from the same origin, and they aren’t served from a local development environment or a third-party source.";
|
|
26
26
|
};
|
|
27
|
-
export declare const i18nString:
|
|
27
|
+
export declare const i18nString: i18n.LocalizeString;
|
|
28
28
|
export type ModernHTTPInsightModel = InsightModel<typeof UIStrings, {
|
|
29
29
|
http1Requests: Types.Events.SyntheticNetworkRequest[];
|
|
30
30
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i18n from '../../../core/i18n/i18n.js';
|
|
2
2
|
import * as Platform from '../../../core/platform/platform.js';
|
|
3
3
|
import * as Protocol from '../../../generated/protocol.js';
|
|
4
4
|
import type * as Handlers from '../handlers/handlers.js';
|
|
@@ -8,82 +8,82 @@ export declare const UIStrings: {
|
|
|
8
8
|
/**
|
|
9
9
|
* @description Title of an insight that recommends avoiding chaining critical requests.
|
|
10
10
|
*/
|
|
11
|
-
readonly title:
|
|
11
|
+
readonly title: "Network dependency tree";
|
|
12
12
|
/**
|
|
13
13
|
* @description Description of an insight that recommends avoiding chaining critical requests.
|
|
14
14
|
*/
|
|
15
|
-
readonly description:
|
|
15
|
+
readonly description: "[Avoid chaining critical requests](https://developer.chrome.com/docs/performance/insights/network-dependency-tree) by reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load";
|
|
16
16
|
/**
|
|
17
17
|
* @description Description of the warning that recommends avoiding chaining critical requests.
|
|
18
18
|
*/
|
|
19
|
-
readonly warningDescription:
|
|
19
|
+
readonly warningDescription: "Avoid chaining critical requests by reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load";
|
|
20
20
|
/**
|
|
21
21
|
* @description Text status indicating that there aren’t long chaining critical network requests.
|
|
22
22
|
*/
|
|
23
|
-
readonly noNetworkDependencyTree:
|
|
23
|
+
readonly noNetworkDependencyTree: "No rendering tasks impacted by network dependencies";
|
|
24
24
|
/**
|
|
25
25
|
* @description Text for the maximum critical path latency. This refers to the longest chain of network requests that
|
|
26
26
|
* the browser must download before it can render the page.
|
|
27
27
|
*/
|
|
28
|
-
readonly maxCriticalPathLatency:
|
|
28
|
+
readonly maxCriticalPathLatency: "Max critical path latency:";
|
|
29
29
|
/**
|
|
30
30
|
* @description Label for a column in a data table; entries will be the network request.
|
|
31
31
|
*/
|
|
32
|
-
readonly columnRequest:
|
|
32
|
+
readonly columnRequest: "Request";
|
|
33
33
|
/**
|
|
34
34
|
* @description Label for a column in a data table; entries will be the time from main document till current network request.
|
|
35
35
|
*/
|
|
36
|
-
readonly columnTime:
|
|
36
|
+
readonly columnTime: "Time";
|
|
37
37
|
/**
|
|
38
38
|
* @description Title of the table of the detected preconnect origins.
|
|
39
39
|
*/
|
|
40
|
-
readonly preconnectOriginsTableTitle:
|
|
40
|
+
readonly preconnectOriginsTableTitle: "Preconnected origins";
|
|
41
41
|
/**
|
|
42
42
|
* @description Description of the table of the detected preconnect origins.
|
|
43
43
|
*/
|
|
44
|
-
readonly preconnectOriginsTableDescription:
|
|
44
|
+
readonly preconnectOriginsTableDescription: "[preconnect](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/) hints help the browser establish a connection earlier in the page load, saving time when the first request for that origin is made. The following are the origins that the page preconnected to.";
|
|
45
45
|
/**
|
|
46
46
|
* @description Text status indicating that no origins were preconnected.
|
|
47
47
|
*/
|
|
48
|
-
readonly noPreconnectOrigins:
|
|
48
|
+
readonly noPreconnectOrigins: "No origins were preconnected";
|
|
49
49
|
/**
|
|
50
50
|
* @description A warning message that is shown when found more than 4 preconnected links. "preconnect" should not be translated.
|
|
51
51
|
*/
|
|
52
|
-
readonly tooManyPreconnectLinksWarning:
|
|
52
|
+
readonly tooManyPreconnectLinksWarning: "More than 4 `preconnect` connections were found. These should be used sparingly and only to the most important origins.";
|
|
53
53
|
/**
|
|
54
54
|
* @description A warning message that is shown when the user added preconnect for some unnecessary origins. "preconnect" should not be translated.
|
|
55
55
|
*/
|
|
56
|
-
readonly unusedWarning:
|
|
56
|
+
readonly unusedWarning: "Unused preconnect. Only use `preconnect` for origins that the page is likely to request.";
|
|
57
57
|
/**
|
|
58
58
|
* @description A warning message that is shown when the user forgets to set the `crossorigin` HTML attribute, or setting it to an incorrect value, on the link is a common mistake when adding preconnect links. "preconnect" should not be translated.
|
|
59
59
|
*/
|
|
60
|
-
readonly crossoriginWarning:
|
|
60
|
+
readonly crossoriginWarning: "Unused preconnect. Check that the `crossorigin` attribute is used properly.";
|
|
61
61
|
/**
|
|
62
62
|
* @description Label for a column in a data table; entries will be the source of the origin.
|
|
63
63
|
*/
|
|
64
|
-
readonly columnSource:
|
|
64
|
+
readonly columnSource: "Source";
|
|
65
65
|
/**
|
|
66
66
|
* @description Text status indicating that there aren’t preconnect candidates.
|
|
67
67
|
*/
|
|
68
|
-
readonly noPreconnectCandidates:
|
|
68
|
+
readonly noPreconnectCandidates: "No additional origins are good candidates for preconnecting";
|
|
69
69
|
/**
|
|
70
70
|
* @description Title of the table that shows the origins that the page should have preconnected to.
|
|
71
71
|
*/
|
|
72
|
-
readonly estSavingTableTitle:
|
|
72
|
+
readonly estSavingTableTitle: "Preconnect candidates";
|
|
73
73
|
/**
|
|
74
74
|
* @description Description of the table that recommends preconnecting to the origins to save time. "preconnect" should not be translated.
|
|
75
75
|
*/
|
|
76
|
-
readonly estSavingTableDescription:
|
|
76
|
+
readonly estSavingTableDescription: "Add [preconnect](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/) hints to your most important origins, but try to use no more than 4";
|
|
77
77
|
/**
|
|
78
78
|
* @description Label for a column in a data table; entries will be the origin of a web resource.
|
|
79
79
|
*/
|
|
80
|
-
readonly columnOrigin:
|
|
80
|
+
readonly columnOrigin: "Origin";
|
|
81
81
|
/**
|
|
82
82
|
* @description Label for a column in a data table; entries will be the number of milliseconds the user could reduce page load by if they implemented the suggestions.
|
|
83
83
|
*/
|
|
84
|
-
readonly columnWastedMs:
|
|
84
|
+
readonly columnWastedMs: "Est LCP savings";
|
|
85
85
|
};
|
|
86
|
-
export declare const i18nString:
|
|
86
|
+
export declare const i18nString: i18n.LocalizeString;
|
|
87
87
|
export declare const TOO_MANY_PRECONNECTS_THRESHOLD = 4;
|
|
88
88
|
export interface CriticalRequestNode {
|
|
89
89
|
request: Types.Events.SyntheticNetworkRequest;
|
|
@@ -138,86 +138,3 @@ export declare function generatePreconnectCandidates(data: Handlers.Types.Handle
|
|
|
138
138
|
export declare function isNetworkDependencyTreeInsight(model: InsightModel): model is NetworkDependencyTreeInsightModel;
|
|
139
139
|
export declare function generateInsight(data: Handlers.Types.HandlerData, context: InsightSetContext): NetworkDependencyTreeInsightModel;
|
|
140
140
|
export declare function createOverlays(model: NetworkDependencyTreeInsightModel): Types.Overlays.Overlay[];
|
|
141
|
-
/**
|
|
142
|
-
* http://tools.ietf.org/html/rfc3986#section-5.2.4
|
|
143
|
-
*/
|
|
144
|
-
export declare function normalizePath(path: string): string;
|
|
145
|
-
export declare function schemeIs(url: Platform.DevToolsPath.UrlString, scheme: string): boolean;
|
|
146
|
-
/**
|
|
147
|
-
* File paths in DevTools that are represented either as unencoded absolute or relative paths, or encoded paths, or URLs.
|
|
148
|
-
* @example
|
|
149
|
-
* RawPathString: “/Hello World/file.js”
|
|
150
|
-
* EncodedPathString: “/Hello%20World/file.js”
|
|
151
|
-
* UrlString: “file:///Hello%20World/file/js”
|
|
152
|
-
*/
|
|
153
|
-
type BrandedPathString = Platform.DevToolsPath.UrlString | Platform.DevToolsPath.RawPathString | Platform.DevToolsPath.EncodedPathString;
|
|
154
|
-
export declare class ParsedURL {
|
|
155
|
-
isValid: boolean;
|
|
156
|
-
url: string;
|
|
157
|
-
scheme: string;
|
|
158
|
-
user: string;
|
|
159
|
-
host: string;
|
|
160
|
-
port: string;
|
|
161
|
-
path: string;
|
|
162
|
-
queryParams: string;
|
|
163
|
-
fragment: string;
|
|
164
|
-
folderPathComponents: string;
|
|
165
|
-
lastPathComponent: string;
|
|
166
|
-
readonly blobInnerScheme: string | undefined;
|
|
167
|
-
constructor(url: string);
|
|
168
|
-
static fromString(string: string): ParsedURL | null;
|
|
169
|
-
static preEncodeSpecialCharactersInPath(path: string): string;
|
|
170
|
-
static rawPathToEncodedPathString(path: Platform.DevToolsPath.RawPathString): Platform.DevToolsPath.EncodedPathString;
|
|
171
|
-
/**
|
|
172
|
-
* @param name Must not be encoded
|
|
173
|
-
*/
|
|
174
|
-
static encodedFromParentPathAndName(parentPath: Platform.DevToolsPath.EncodedPathString, name: string): Platform.DevToolsPath.EncodedPathString;
|
|
175
|
-
/**
|
|
176
|
-
* @param name Must not be encoded
|
|
177
|
-
*/
|
|
178
|
-
static urlFromParentUrlAndName(parentUrl: Platform.DevToolsPath.UrlString, name: string): Platform.DevToolsPath.UrlString;
|
|
179
|
-
static encodedPathToRawPathString(encPath: Platform.DevToolsPath.EncodedPathString): Platform.DevToolsPath.RawPathString;
|
|
180
|
-
static rawPathToUrlString(fileSystemPath: Platform.DevToolsPath.RawPathString): Platform.DevToolsPath.UrlString;
|
|
181
|
-
static relativePathToUrlString(relativePath: Platform.DevToolsPath.RawPathString, baseURL: Platform.DevToolsPath.UrlString): Platform.DevToolsPath.UrlString;
|
|
182
|
-
static urlToRawPathString(fileURL: Platform.DevToolsPath.UrlString, isWindows?: boolean): Platform.DevToolsPath.RawPathString;
|
|
183
|
-
static sliceUrlToEncodedPathString(url: Platform.DevToolsPath.UrlString, start: number): Platform.DevToolsPath.EncodedPathString;
|
|
184
|
-
static substr<DevToolsPathType extends BrandedPathString>(devToolsPath: DevToolsPathType, from: number, length?: number): DevToolsPathType;
|
|
185
|
-
static substring<DevToolsPathType extends BrandedPathString>(devToolsPath: DevToolsPathType, start: number, end?: number): DevToolsPathType;
|
|
186
|
-
static prepend<DevToolsPathType extends BrandedPathString>(prefix: string, devToolsPath: DevToolsPathType): DevToolsPathType;
|
|
187
|
-
static concatenate<DevToolsPathType extends BrandedPathString>(devToolsPath: DevToolsPathType, ...appendage: string[]): DevToolsPathType;
|
|
188
|
-
static trim<DevToolsPathType extends BrandedPathString>(devToolsPath: DevToolsPathType): DevToolsPathType;
|
|
189
|
-
static slice<DevToolsPathType extends BrandedPathString>(devToolsPath: DevToolsPathType, start?: number, end?: number): DevToolsPathType;
|
|
190
|
-
static join<DevToolsPathType extends BrandedPathString>(devToolsPaths: DevToolsPathType[], separator?: string): DevToolsPathType;
|
|
191
|
-
static split<DevToolsPathType extends BrandedPathString>(devToolsPath: DevToolsPathType, separator: string | RegExp, limit?: number): DevToolsPathType[];
|
|
192
|
-
static toLowerCase<DevToolsPathType extends BrandedPathString>(devToolsPath: DevToolsPathType): DevToolsPathType;
|
|
193
|
-
static isValidUrlString(str: string): str is Platform.DevToolsPath.UrlString;
|
|
194
|
-
static urlWithoutHash(url: string): string;
|
|
195
|
-
static urlRegex(): RegExp;
|
|
196
|
-
static extractPath(url: Platform.DevToolsPath.UrlString): Platform.DevToolsPath.EncodedPathString;
|
|
197
|
-
static extractOrigin(url: Platform.DevToolsPath.UrlString): Platform.DevToolsPath.UrlString;
|
|
198
|
-
static extractExtension(url: string): string;
|
|
199
|
-
static extractName(url: string): string;
|
|
200
|
-
static completeURL(baseURL: Platform.DevToolsPath.UrlString, href: string): Platform.DevToolsPath.UrlString | null;
|
|
201
|
-
static splitLineAndColumn(string: string): {
|
|
202
|
-
url: Platform.DevToolsPath.UrlString;
|
|
203
|
-
lineNumber: (number | undefined);
|
|
204
|
-
columnNumber: (number | undefined);
|
|
205
|
-
};
|
|
206
|
-
static removeWasmFunctionInfoFromURL(url: string): Platform.DevToolsPath.UrlString;
|
|
207
|
-
private static beginsWithWindowsDriveLetter;
|
|
208
|
-
private static beginsWithScheme;
|
|
209
|
-
static isRelativeURL(url: string): boolean;
|
|
210
|
-
isAboutBlank(): boolean;
|
|
211
|
-
isDataURL(): boolean;
|
|
212
|
-
extractDataUrlMimeType(): {
|
|
213
|
-
type: string | undefined;
|
|
214
|
-
subtype: string | undefined;
|
|
215
|
-
};
|
|
216
|
-
isBlobURL(): boolean;
|
|
217
|
-
lastPathComponentWithFragment(): string;
|
|
218
|
-
domain(): string;
|
|
219
|
-
securityOrigin(): Platform.DevToolsPath.UrlString;
|
|
220
|
-
urlWithoutScheme(): string;
|
|
221
|
-
static urlRegexInstance: RegExp | null;
|
|
222
|
-
}
|
|
223
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i18n from '../../../core/i18n/i18n.js';
|
|
2
2
|
import * as Handlers from '../handlers/handlers.js';
|
|
3
3
|
import type * as Types from '../types/types.js';
|
|
4
4
|
import { type InsightModel, type InsightSetContext } from './types.js';
|
|
@@ -6,25 +6,25 @@ export declare const UIStrings: {
|
|
|
6
6
|
/**
|
|
7
7
|
* @description Title of an insight that provides the user with the list of network requests that blocked and therefore slowed down the page rendering and becoming visible to the user.
|
|
8
8
|
*/
|
|
9
|
-
readonly title:
|
|
9
|
+
readonly title: "Render-blocking requests";
|
|
10
10
|
/**
|
|
11
11
|
* @description Text to describe that there are requests blocking rendering, which may affect LCP.
|
|
12
12
|
*/
|
|
13
|
-
readonly description:
|
|
13
|
+
readonly description: "Requests are blocking the page’s initial render, which may delay LCP. [Deferring or inlining](https://developer.chrome.com/docs/performance/insights/render-blocking) can move these network requests out of the critical path.";
|
|
14
14
|
/**
|
|
15
15
|
* @description Label to describe a network request (that happens to be render-blocking).
|
|
16
16
|
*/
|
|
17
|
-
readonly renderBlockingRequest:
|
|
17
|
+
readonly renderBlockingRequest: "Request";
|
|
18
18
|
/**
|
|
19
19
|
* @description Label used for a time duration.
|
|
20
20
|
*/
|
|
21
|
-
readonly duration:
|
|
21
|
+
readonly duration: "Duration";
|
|
22
22
|
/**
|
|
23
23
|
* @description Text status indicating that no requests blocked the initial render of a navigation.
|
|
24
24
|
*/
|
|
25
|
-
readonly noRenderBlocking:
|
|
25
|
+
readonly noRenderBlocking: "No render-blocking requests for this navigation";
|
|
26
26
|
};
|
|
27
|
-
export declare const i18nString:
|
|
27
|
+
export declare const i18nString: i18n.LocalizeString;
|
|
28
28
|
export declare function isRenderBlockingInsight(insight: InsightModel): insight is RenderBlockingInsightModel;
|
|
29
29
|
export type RenderBlockingInsightModel = InsightModel<typeof UIStrings, {
|
|
30
30
|
renderBlockingRequests: Types.Events.SyntheticNetworkRequest[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i18n from '../../../core/i18n/i18n.js';
|
|
2
2
|
import type * as Handlers from '../handlers/handlers.js';
|
|
3
3
|
import * as Types from '../types/types.js';
|
|
4
4
|
import { type InsightModel, type InsightSetContext } from './types.js';
|
|
@@ -6,45 +6,45 @@ export declare const UIStrings: {
|
|
|
6
6
|
/**
|
|
7
7
|
* @description Title of an insight that provides details about slow CSS selectors.
|
|
8
8
|
*/
|
|
9
|
-
readonly title:
|
|
9
|
+
readonly title: "CSS selector costs";
|
|
10
10
|
/**
|
|
11
11
|
* @description Text to describe how to improve the performance of CSS selectors.
|
|
12
12
|
*/
|
|
13
|
-
readonly description:
|
|
13
|
+
readonly description: "If recalculate style costs remain high, selector optimization can reduce them. [Optimize the selectors](https://developer.chrome.com/docs/performance/insights/slow-css-selector) with both high elapsed time and high slow-path %. Simpler selectors, fewer selectors, a smaller DOM, and a shallower DOM will all reduce matching costs.";
|
|
14
14
|
/**
|
|
15
15
|
* @description Column name for count of elements that the engine attempted to match against a style rule.
|
|
16
16
|
*/
|
|
17
|
-
readonly matchAttempts:
|
|
17
|
+
readonly matchAttempts: "Match attempts";
|
|
18
18
|
/**
|
|
19
19
|
* @description Column name for count of elements that matched a style rule.
|
|
20
20
|
*/
|
|
21
|
-
readonly matchCount:
|
|
21
|
+
readonly matchCount: "Match count";
|
|
22
22
|
/**
|
|
23
23
|
* @description Column name for elapsed time spent computing a style rule.
|
|
24
24
|
*/
|
|
25
|
-
readonly elapsed:
|
|
25
|
+
readonly elapsed: "Elapsed time";
|
|
26
26
|
/**
|
|
27
27
|
* @description Column name for the selectors that took the longest amount of time/effort.
|
|
28
28
|
*/
|
|
29
|
-
readonly topSelectors:
|
|
29
|
+
readonly topSelectors: "Top selectors";
|
|
30
30
|
/**
|
|
31
31
|
* @description Column name for a total sum.
|
|
32
32
|
*/
|
|
33
|
-
readonly total:
|
|
33
|
+
readonly total: "Total";
|
|
34
34
|
/**
|
|
35
35
|
* @description Text status indicating that no CSS selector data was found.
|
|
36
36
|
*/
|
|
37
|
-
readonly enableSelectorData:
|
|
37
|
+
readonly enableSelectorData: "No CSS selector data was found. CSS selector stats need to be enabled in the Performance panel settings.";
|
|
38
38
|
/**
|
|
39
39
|
* @description Top CSS selector when ranked by elapsed time in ms.
|
|
40
40
|
*/
|
|
41
|
-
readonly topSelectorElapsedTime:
|
|
41
|
+
readonly topSelectorElapsedTime: "Top selector elapsed time";
|
|
42
42
|
/**
|
|
43
43
|
* @description Top CSS selector when ranked by match attempt.
|
|
44
44
|
*/
|
|
45
|
-
readonly topSelectorMatchAttempt:
|
|
45
|
+
readonly topSelectorMatchAttempt: "Top selector match attempt";
|
|
46
46
|
};
|
|
47
|
-
export declare const i18nString:
|
|
47
|
+
export declare const i18nString: i18n.LocalizeString;
|
|
48
48
|
export type SlowCSSSelectorInsightModel = InsightModel<typeof UIStrings, {
|
|
49
49
|
totalElapsedMs: Types.Timing.Milli;
|
|
50
50
|
totalMatchAttempts: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i18n from '../../../core/i18n/i18n.js';
|
|
2
2
|
import * as Extras from '../extras/extras.js';
|
|
3
3
|
import * as Handlers from '../handlers/handlers.js';
|
|
4
4
|
import * as Types from '../types/types.js';
|
|
@@ -7,30 +7,30 @@ export declare const UIStrings: {
|
|
|
7
7
|
/**
|
|
8
8
|
* @description Title of an insight that provides details about the code on a web page that the user doesn't control (referred to as "third-party code").
|
|
9
9
|
*/
|
|
10
|
-
readonly title:
|
|
10
|
+
readonly title: "3rd parties";
|
|
11
11
|
/**
|
|
12
12
|
* @description Description of a DevTools insight that identifies the code on the page that the user doesn't control.
|
|
13
13
|
* This is displayed after a user expands the section to see more. No character length limits.
|
|
14
14
|
*/
|
|
15
|
-
readonly description:
|
|
15
|
+
readonly description: "3rd party code can significantly impact load performance. [Reduce and defer loading of 3rd party code](https://developer.chrome.com/docs/performance/insights/third-parties) to prioritize your page’s content.";
|
|
16
16
|
/**
|
|
17
17
|
* @description Label for a table column that displays the name of a third-party provider.
|
|
18
18
|
*/
|
|
19
|
-
readonly columnThirdParty:
|
|
19
|
+
readonly columnThirdParty: "3rd party";
|
|
20
20
|
/**
|
|
21
21
|
* @description Label for a column in a data table; entries will be the download size of a web resource in kilobytes.
|
|
22
22
|
*/
|
|
23
|
-
readonly columnTransferSize:
|
|
23
|
+
readonly columnTransferSize: "Transfer size";
|
|
24
24
|
/**
|
|
25
25
|
* @description Label for a table column that displays how much time each row spent running on the main thread, entries will be the number of milliseconds spent.
|
|
26
26
|
*/
|
|
27
|
-
readonly columnMainThreadTime:
|
|
27
|
+
readonly columnMainThreadTime: "Main thread time";
|
|
28
28
|
/**
|
|
29
29
|
* @description Text block indicating that no third party content was detected on the page.
|
|
30
30
|
*/
|
|
31
|
-
readonly noThirdParties:
|
|
31
|
+
readonly noThirdParties: "No third parties found";
|
|
32
32
|
};
|
|
33
|
-
export declare const i18nString:
|
|
33
|
+
export declare const i18nString: i18n.LocalizeString;
|
|
34
34
|
export type ThirdPartiesInsightModel = InsightModel<typeof UIStrings, {
|
|
35
35
|
/** The entity for this navigation's URL. Any other entity is from a third party. */
|
|
36
36
|
entitySummaries: Extras.ThirdParties.EntitySummary[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i18n from '../../../core/i18n/i18n.js';
|
|
2
2
|
import * as Handlers from '../handlers/handlers.js';
|
|
3
3
|
import * as Types from '../types/types.js';
|
|
4
4
|
import { type InsightModel, type InsightSetContext } from './types.js';
|
|
@@ -6,17 +6,17 @@ export declare const UIStrings: {
|
|
|
6
6
|
/**
|
|
7
7
|
* @description Title of an insight that provides details about if the page's viewport is optimized for mobile viewing.
|
|
8
8
|
*/
|
|
9
|
-
readonly title:
|
|
9
|
+
readonly title: "Optimize viewport for mobile";
|
|
10
10
|
/**
|
|
11
11
|
* @description Text to tell the user how a viewport meta element can improve performance. \xa0 is a non-breaking space
|
|
12
12
|
*/
|
|
13
|
-
readonly description:
|
|
13
|
+
readonly description: "Tap interactions may be [delayed by up to 300 ms](https://developer.chrome.com/docs/performance/insights/viewport) if the viewport isn’t optimized for mobile";
|
|
14
14
|
/**
|
|
15
15
|
* @description Text for a label describing the portion of an interaction event that was delayed due to a bad mobile viewport.
|
|
16
16
|
*/
|
|
17
|
-
readonly mobileTapDelayLabel:
|
|
17
|
+
readonly mobileTapDelayLabel: "Mobile tap delay";
|
|
18
18
|
};
|
|
19
|
-
export declare const i18nString:
|
|
19
|
+
export declare const i18nString: i18n.LocalizeString;
|
|
20
20
|
export type ViewportInsightModel = InsightModel<typeof UIStrings, {
|
|
21
21
|
mobileOptimized: boolean | null;
|
|
22
22
|
viewportEvent?: Types.Events.ParseMetaViewport;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type * as Common from '../../../core/common/common.js';
|
|
2
2
|
import type * as Lantern from '../lantern/lantern.js';
|
|
3
3
|
import type * as Types from '../types/types.js';
|
|
4
4
|
import type * as Models from './Models.js';
|
|
@@ -69,7 +69,6 @@ declare class NetworkAnalyzer {
|
|
|
69
69
|
*/
|
|
70
70
|
static estimateResponseTimeByOrigin(records: Lantern.NetworkRequest[], rttByOrigin: Map<string, number>): Map<string, number[]>;
|
|
71
71
|
static canTrustConnectionInformation(requests: Lantern.NetworkRequest[]): boolean;
|
|
72
|
-
static isMultiplexedProtocol(protocol?: string): boolean;
|
|
73
72
|
/**
|
|
74
73
|
* Returns a map of requestId -> connectionReused, estimating the information if the information
|
|
75
74
|
* available in the records themselves appears untrustworthy.
|
|
@@ -20,8 +20,8 @@ export type Node<T = Lantern.AnyNetworkObject> = CPUNode<T> | NetworkNode<T>;
|
|
|
20
20
|
*/
|
|
21
21
|
declare class BaseNode<T = Lantern.AnyNetworkObject> {
|
|
22
22
|
static types: {
|
|
23
|
-
readonly NETWORK:
|
|
24
|
-
readonly CPU:
|
|
23
|
+
readonly NETWORK: "network";
|
|
24
|
+
readonly CPU: "cpu";
|
|
25
25
|
};
|
|
26
26
|
_id: string;
|
|
27
27
|
_isMainDocument: boolean;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import type * as Lantern from '../types/types.js';
|
|
2
2
|
import { BaseNode } from './BaseNode.js';
|
|
3
3
|
declare class CPUNode<T = Lantern.AnyNetworkObject> extends BaseNode<T> {
|
|
4
|
-
#private;
|
|
5
4
|
_event: Lantern.TraceEvent;
|
|
6
5
|
_childEvents: Lantern.TraceEvent[];
|
|
7
6
|
correctedEndTs: number | undefined;
|
|
8
|
-
constructor(parentEvent: Lantern.TraceEvent, childEvents?: Lantern.TraceEvent[], correctedEndTs?: number
|
|
7
|
+
constructor(parentEvent: Lantern.TraceEvent, childEvents?: Lantern.TraceEvent[], correctedEndTs?: number);
|
|
9
8
|
get type(): 'cpu';
|
|
10
9
|
get startTime(): number;
|
|
11
10
|
get endTime(): number;
|
|
12
11
|
get duration(): number;
|
|
13
12
|
get event(): Lantern.TraceEvent;
|
|
14
13
|
get childEvents(): Lantern.TraceEvent[];
|
|
15
|
-
getScriptUrlById(scriptId: number): string | undefined;
|
|
16
14
|
/**
|
|
17
15
|
* Returns true if this node contains a Layout task.
|
|
18
16
|
*/
|
|
19
17
|
didPerformLayout(): boolean;
|
|
20
18
|
/**
|
|
21
|
-
* Returns the script URLs that had their EvaluateScript
|
|
19
|
+
* Returns the script URLs that had their EvaluateScript events occur in this task.
|
|
22
20
|
*/
|
|
23
21
|
getEvaluateScriptURLs(): Set<string>;
|
|
24
22
|
cloneWithoutRelationships(): CPUNode;
|
|
@@ -15,23 +15,23 @@ interface DownloadResults {
|
|
|
15
15
|
declare class TCPConnection {
|
|
16
16
|
warmed: boolean;
|
|
17
17
|
ssl: boolean;
|
|
18
|
-
|
|
18
|
+
h2: boolean;
|
|
19
19
|
rtt: number;
|
|
20
20
|
throughput: number;
|
|
21
21
|
serverLatency: number;
|
|
22
22
|
_congestionWindow: number;
|
|
23
23
|
h2OverflowBytesDownloaded: number;
|
|
24
|
-
constructor(rtt: number, throughput: number, serverLatency?: number, ssl?: boolean,
|
|
24
|
+
constructor(rtt: number, throughput: number, serverLatency?: number, ssl?: boolean, h2?: boolean);
|
|
25
25
|
static maximumSaturatedConnections(rtt: number, availableThroughput: number): number;
|
|
26
26
|
computeMaximumCongestionWindowInSegments(): number;
|
|
27
27
|
setThroughput(throughput: number): void;
|
|
28
28
|
setCongestionWindow(congestion: number): void;
|
|
29
29
|
setWarmed(warmed: boolean): void;
|
|
30
|
-
|
|
30
|
+
isH2(): boolean;
|
|
31
31
|
get congestionWindow(): number;
|
|
32
32
|
/**
|
|
33
33
|
* Sets the number of excess bytes that are available to this connection on future downloads, only
|
|
34
|
-
* applies to
|
|
34
|
+
* applies to H2 connections.
|
|
35
35
|
*/
|
|
36
36
|
setH2OverflowBytesDownloaded(bytes: number): void;
|
|
37
37
|
clone(): TCPConnection;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import type * as Protocol from '../../../../generated/protocol.js';
|
|
2
2
|
export declare const NetworkRequestTypes: {
|
|
3
|
-
readonly XHR:
|
|
4
|
-
readonly Fetch:
|
|
5
|
-
readonly EventSource:
|
|
6
|
-
readonly Script:
|
|
7
|
-
readonly Stylesheet:
|
|
8
|
-
readonly Image:
|
|
9
|
-
readonly Media:
|
|
10
|
-
readonly Font:
|
|
11
|
-
readonly Document:
|
|
12
|
-
readonly TextTrack:
|
|
13
|
-
readonly WebSocket:
|
|
14
|
-
readonly Other:
|
|
15
|
-
readonly Manifest:
|
|
16
|
-
readonly SignedExchange:
|
|
17
|
-
readonly Ping:
|
|
18
|
-
readonly Preflight:
|
|
19
|
-
readonly CSPViolationReport:
|
|
20
|
-
readonly Prefetch:
|
|
21
|
-
readonly FedCM:
|
|
3
|
+
readonly XHR: "XHR";
|
|
4
|
+
readonly Fetch: "Fetch";
|
|
5
|
+
readonly EventSource: "EventSource";
|
|
6
|
+
readonly Script: "Script";
|
|
7
|
+
readonly Stylesheet: "Stylesheet";
|
|
8
|
+
readonly Image: "Image";
|
|
9
|
+
readonly Media: "Media";
|
|
10
|
+
readonly Font: "Font";
|
|
11
|
+
readonly Document: "Document";
|
|
12
|
+
readonly TextTrack: "TextTrack";
|
|
13
|
+
readonly WebSocket: "WebSocket";
|
|
14
|
+
readonly Other: "Other";
|
|
15
|
+
readonly Manifest: "Manifest";
|
|
16
|
+
readonly SignedExchange: "SignedExchange";
|
|
17
|
+
readonly Ping: "Ping";
|
|
18
|
+
readonly Preflight: "Preflight";
|
|
19
|
+
readonly CSPViolationReport: "CSPViolationReport";
|
|
20
|
+
readonly Prefetch: "Prefetch";
|
|
21
|
+
readonly FedCM: "FedCM";
|
|
22
22
|
};
|
|
23
23
|
export interface TraceEvent {
|
|
24
24
|
name: string;
|
|
@@ -27,7 +27,6 @@ export interface TraceEvent {
|
|
|
27
27
|
data?: {
|
|
28
28
|
frame?: string;
|
|
29
29
|
readyState?: number;
|
|
30
|
-
scriptId?: number;
|
|
31
30
|
stackTrace?: Array<{
|
|
32
31
|
url: string;
|
|
33
32
|
}>;
|
|
@@ -44,7 +43,6 @@ export interface Trace {
|
|
|
44
43
|
traceEvents: TraceEvent[];
|
|
45
44
|
}
|
|
46
45
|
export type ResourcePriority = ('VeryLow' | 'Low' | 'Medium' | 'High' | 'VeryHigh');
|
|
47
|
-
export type RenderBlocking = ('blocking' | 'non_blocking' | 'in_body_parser_blocking' | 'potentially_blocking' | 'dynamically_injected_non_blocking');
|
|
48
46
|
export type ResourceType = keyof typeof NetworkRequestTypes;
|
|
49
47
|
type InitiatorType = ('parser' | 'script' | 'preload' | 'SignedExchange' | 'preflight' | 'FedCM' | 'other');
|
|
50
48
|
export type ResourceTiming = Protocol.Network.ResourceTiming;
|
|
@@ -117,12 +115,6 @@ export interface NetworkRequest<T = AnyNetworkObject> {
|
|
|
117
115
|
resourceType?: ResourceType;
|
|
118
116
|
mimeType: string;
|
|
119
117
|
priority: ResourcePriority;
|
|
120
|
-
/**
|
|
121
|
-
* Whether the request is render blocking. Optional because it is not set on
|
|
122
|
-
* Document requests, older traces, or NetworkRequests created from CDP data
|
|
123
|
-
* prior to M145.
|
|
124
|
-
*/
|
|
125
|
-
renderBlocking?: RenderBlocking;
|
|
126
118
|
frameId: string | undefined;
|
|
127
119
|
fromWorker: boolean;
|
|
128
120
|
/**
|