@paulirish/trace_engine 0.0.55 → 0.0.56

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.
Files changed (121) hide show
  1. package/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +1 -1
  2. package/core/platform/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  3. package/core/platform/platform.prebundle.d.ts +18 -0
  4. package/core/platform/platform.prebundle.js +53 -0
  5. package/core/platform/platform.prebundle.js.map +1 -0
  6. package/core/platform/platform.prebundle.ts +71 -0
  7. package/locales/en-US.json +58 -46
  8. package/locales/en-XL.json +58 -46
  9. package/models/cpu_profile/cpu_profile.prebundle.d.ts +3 -0
  10. package/models/cpu_profile/cpu_profile.prebundle.js +7 -0
  11. package/models/cpu_profile/cpu_profile.prebundle.js.map +1 -0
  12. package/models/cpu_profile/cpu_profile.prebundle.ts +11 -0
  13. package/models/cpu_profile/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  14. package/models/trace/Processor.js +4 -4
  15. package/models/trace/Processor.js.map +1 -1
  16. package/models/trace/devtools_entrypoint-bundle-tsconfig-tsconfig.json +61 -0
  17. package/models/trace/extras/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  18. package/models/trace/extras/extras.prebundle.d.ts +7 -0
  19. package/models/trace/extras/extras.prebundle.js +11 -0
  20. package/models/trace/extras/extras.prebundle.js.map +1 -0
  21. package/models/trace/extras/extras.prebundle.ts +11 -0
  22. package/models/trace/handlers/ImagePaintingHandler.d.ts +7 -1
  23. package/models/trace/handlers/ImagePaintingHandler.js +33 -1
  24. package/models/trace/handlers/ImagePaintingHandler.js.map +1 -1
  25. package/models/trace/handlers/NetworkRequestsHandler.js +61 -1
  26. package/models/trace/handlers/NetworkRequestsHandler.js.map +1 -1
  27. package/models/trace/handlers/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  28. package/models/trace/handlers/handlers.prebundle.d.ts +4 -0
  29. package/models/trace/handlers/handlers.prebundle.js +8 -0
  30. package/models/trace/handlers/handlers.prebundle.js.map +1 -0
  31. package/models/trace/handlers/handlers.prebundle.ts +8 -0
  32. package/models/trace/helpers/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  33. package/models/trace/helpers/helpers.prebundle.d.ts +7 -0
  34. package/models/trace/helpers/helpers.prebundle.js +11 -0
  35. package/models/trace/helpers/helpers.prebundle.js.map +1 -0
  36. package/models/trace/helpers/helpers.prebundle.ts +11 -0
  37. package/models/trace/insights/CLSCulprits.d.ts +4 -4
  38. package/models/trace/insights/CLSCulprits.js +7 -7
  39. package/models/trace/insights/CLSCulprits.js.map +1 -1
  40. package/models/trace/insights/Common.d.ts +1 -1
  41. package/models/trace/insights/Common.js +3 -3
  42. package/models/trace/insights/Common.js.map +1 -1
  43. package/models/trace/insights/DOMSize.d.ts +26 -1
  44. package/models/trace/insights/DOMSize.js +34 -1
  45. package/models/trace/insights/DOMSize.js.map +1 -1
  46. package/models/trace/insights/DocumentLatency.js +1 -1
  47. package/models/trace/insights/DocumentLatency.js.map +1 -1
  48. package/models/trace/insights/ForcedReflow.d.ts +1 -1
  49. package/models/trace/insights/ForcedReflow.js +1 -1
  50. package/models/trace/insights/ForcedReflow.js.map +1 -1
  51. package/models/trace/insights/{InteractionToNextPaint.d.ts → INPBreakdown.d.ts} +8 -8
  52. package/models/trace/insights/{InteractionToNextPaint.js → INPBreakdown.js} +10 -10
  53. package/models/trace/insights/INPBreakdown.js.map +1 -0
  54. package/models/trace/insights/ImageDelivery.js +18 -7
  55. package/models/trace/insights/ImageDelivery.js.map +1 -1
  56. package/models/trace/insights/{LCPPhases.d.ts → LCPBreakdown.d.ts} +26 -22
  57. package/models/trace/insights/{LCPPhases.js → LCPBreakdown.js} +56 -46
  58. package/models/trace/insights/LCPBreakdown.js.map +1 -0
  59. package/models/trace/insights/LCPDiscovery.js +1 -1
  60. package/models/trace/insights/LCPDiscovery.js.map +1 -1
  61. package/models/trace/insights/Models.d.ts +2 -2
  62. package/models/trace/insights/Models.js +2 -2
  63. package/models/trace/insights/Models.js.map +1 -1
  64. package/models/trace/insights/NetworkDependencyTree.d.ts +4 -4
  65. package/models/trace/insights/NetworkDependencyTree.js +11 -10
  66. package/models/trace/insights/NetworkDependencyTree.js.map +1 -1
  67. package/models/trace/insights/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  68. package/models/trace/insights/insights-tsconfig.json +2 -2
  69. package/models/trace/insights/insights.prebundle.d.ts +4 -0
  70. package/models/trace/insights/insights.prebundle.js +8 -0
  71. package/models/trace/insights/insights.prebundle.js.map +1 -0
  72. package/models/trace/insights/insights.prebundle.ts +8 -0
  73. package/models/trace/insights/types.d.ts +2 -2
  74. package/models/trace/insights/types.js +2 -2
  75. package/models/trace/insights/types.js.map +1 -1
  76. package/models/trace/lantern/core/core.prebundle.d.ts +2 -0
  77. package/models/trace/lantern/core/core.prebundle.js +6 -0
  78. package/models/trace/lantern/core/core.prebundle.js.map +1 -0
  79. package/models/trace/lantern/core/core.prebundle.ts +6 -0
  80. package/models/trace/lantern/core/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  81. package/models/trace/lantern/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  82. package/models/trace/lantern/graph/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  83. package/models/trace/lantern/graph/graph.prebundle.d.ts +4 -0
  84. package/models/trace/lantern/graph/graph.prebundle.js +8 -0
  85. package/models/trace/lantern/graph/graph.prebundle.js.map +1 -0
  86. package/models/trace/lantern/graph/graph.prebundle.ts +8 -0
  87. package/models/trace/lantern/lantern.prebundle.d.ts +6 -0
  88. package/models/trace/lantern/lantern.prebundle.js +10 -0
  89. package/models/trace/lantern/lantern.prebundle.js.map +1 -0
  90. package/models/trace/lantern/lantern.prebundle.ts +17 -0
  91. package/models/trace/lantern/metrics/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  92. package/models/trace/lantern/metrics/metrics.prebundle.d.ts +8 -0
  93. package/models/trace/lantern/metrics/metrics.prebundle.js +12 -0
  94. package/models/trace/lantern/metrics/metrics.prebundle.js.map +1 -0
  95. package/models/trace/lantern/metrics/metrics.prebundle.ts +12 -0
  96. package/models/trace/lantern/simulation/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  97. package/models/trace/lantern/simulation/simulation.prebundle.d.ts +6 -0
  98. package/models/trace/lantern/simulation/simulation.prebundle.js +10 -0
  99. package/models/trace/lantern/simulation/simulation.prebundle.js.map +1 -0
  100. package/models/trace/lantern/simulation/simulation.prebundle.ts +10 -0
  101. package/models/trace/lantern/types/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  102. package/models/trace/lantern/types/types.prebundle.d.ts +1 -0
  103. package/models/trace/lantern/types/types.prebundle.js +5 -0
  104. package/models/trace/lantern/types/types.prebundle.js.map +1 -0
  105. package/models/trace/lantern/types/types.prebundle.ts +5 -0
  106. package/models/trace/trace.prebundle.d.ts +10 -0
  107. package/models/trace/trace.prebundle.js +14 -0
  108. package/models/trace/trace.prebundle.js.map +1 -0
  109. package/models/trace/trace.prebundle.ts +25 -0
  110. package/models/trace/types/File.d.ts +1 -0
  111. package/models/trace/types/File.js.map +1 -1
  112. package/models/trace/types/Timing.js.map +1 -1
  113. package/models/trace/types/devtools_entrypoint-bundle-tsconfig-tsconfig.json +43 -0
  114. package/models/trace/types/types.prebundle.d.ts +5 -0
  115. package/models/trace/types/types.prebundle.js +9 -0
  116. package/models/trace/types/types.prebundle.js.map +1 -0
  117. package/models/trace/types/types.prebundle.ts +9 -0
  118. package/package.json +1 -1
  119. package/test/test-trace-engine.mjs +2 -2
  120. package/models/trace/insights/InteractionToNextPaint.js.map +0 -1
  121. package/models/trace/insights/LCPPhases.js.map +0 -1
@@ -0,0 +1,43 @@
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
+ "esnext",
12
+ "dom",
13
+ "dom.iterable"
14
+ ],
15
+ "module": "esnext",
16
+ "noEmitOnError": true,
17
+ "noFallthroughCasesInSwitch": true,
18
+ "noImplicitOverride": true,
19
+ "noImplicitReturns": true,
20
+ "noUnusedLocals": false,
21
+ "noUnusedParameters": false,
22
+ "outDir": ".",
23
+ "rootDir": ".",
24
+ "skipLibCheck": true,
25
+ "sourceMap": true,
26
+ "strict": true,
27
+ "target": "esnext",
28
+ "tsBuildInfoFile": "devtools_entrypoint-bundle-tsconfig-tsconfig.json.tsbuildinfo",
29
+ "typeRoots": [],
30
+ "useUnknownInCatchVariables": false
31
+ },
32
+ "files": [
33
+ "lantern.prebundle.ts",
34
+ "../../../../../../../front_end/legacy/legacy-defs.d.ts",
35
+ "../../../../../../../front_end/global_typings/global_defs.d.ts",
36
+ "../../../../../../../node_modules/@types/filesystem/index.d.ts"
37
+ ],
38
+ "references": [
39
+ {
40
+ "path": "./lantern-tsconfig.json"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,43 @@
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
+ "esnext",
12
+ "dom",
13
+ "dom.iterable"
14
+ ],
15
+ "module": "esnext",
16
+ "noEmitOnError": true,
17
+ "noFallthroughCasesInSwitch": true,
18
+ "noImplicitOverride": true,
19
+ "noImplicitReturns": true,
20
+ "noUnusedLocals": false,
21
+ "noUnusedParameters": false,
22
+ "outDir": ".",
23
+ "rootDir": ".",
24
+ "skipLibCheck": true,
25
+ "sourceMap": true,
26
+ "strict": true,
27
+ "target": "esnext",
28
+ "tsBuildInfoFile": "devtools_entrypoint-bundle-tsconfig-tsconfig.json.tsbuildinfo",
29
+ "typeRoots": [],
30
+ "useUnknownInCatchVariables": false
31
+ },
32
+ "files": [
33
+ "graph.prebundle.ts",
34
+ "../../../../../../../../front_end/legacy/legacy-defs.d.ts",
35
+ "../../../../../../../../front_end/global_typings/global_defs.d.ts",
36
+ "../../../../../../../../node_modules/@types/filesystem/index.d.ts"
37
+ ],
38
+ "references": [
39
+ {
40
+ "path": "./graph-tsconfig.json"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,4 @@
1
+ export * from './BaseNode.js';
2
+ export * from './CPUNode.js';
3
+ export * from './NetworkNode.js';
4
+ export * from './PageDependencyGraph.js';
@@ -0,0 +1,8 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+ export * from './BaseNode.js';
5
+ export * from './CPUNode.js';
6
+ export * from './NetworkNode.js';
7
+ export * from './PageDependencyGraph.js';
8
+ //# sourceMappingURL=graph.prebundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.prebundle.js","sourceRoot":"","sources":["graph.prebundle.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAE7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC","sourcesContent":["// Copyright 2024 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nexport * from './BaseNode.js';\nexport * from './CPUNode.js';\nexport * from './NetworkNode.js';\nexport * from './PageDependencyGraph.js';\n"]}
@@ -0,0 +1,8 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ export * from './BaseNode.js';
6
+ export * from './CPUNode.js';
7
+ export * from './NetworkNode.js';
8
+ export * from './PageDependencyGraph.js';
@@ -0,0 +1,6 @@
1
+ import * as Core from './core/core.js';
2
+ import * as Graph from './graph/graph.js';
3
+ import * as Metrics from './metrics/metrics.js';
4
+ import * as Simulation from './simulation/simulation.js';
5
+ import * as Types from './types/types.js';
6
+ export { Core, Graph, Metrics, Simulation, Types, };
@@ -0,0 +1,10 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
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 Core from './core/core.js';
5
+ import * as Graph from './graph/graph.js';
6
+ import * as Metrics from './metrics/metrics.js';
7
+ import * as Simulation from './simulation/simulation.js';
8
+ import * as Types from './types/types.js';
9
+ export { Core, Graph, Metrics, Simulation, Types, };
10
+ //# sourceMappingURL=lantern.prebundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lantern.prebundle.js","sourceRoot":"","sources":["lantern.prebundle.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAE7B,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,4BAA4B,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EACL,IAAI,EACJ,KAAK,EACL,OAAO,EACP,UAAU,EACV,KAAK,GACN,CAAC","sourcesContent":["// Copyright 2024 The Chromium Authors. All rights reserved.\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 Core from './core/core.js';\nimport * as Graph from './graph/graph.js';\nimport * as Metrics from './metrics/metrics.js';\nimport * as Simulation from './simulation/simulation.js';\nimport * as Types from './types/types.js';\n\nexport {\n Core,\n Graph,\n Metrics,\n Simulation,\n Types,\n};\n"]}
@@ -0,0 +1,17 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import * as Core from './core/core.js';
6
+ import * as Graph from './graph/graph.js';
7
+ import * as Metrics from './metrics/metrics.js';
8
+ import * as Simulation from './simulation/simulation.js';
9
+ import * as Types from './types/types.js';
10
+
11
+ export {
12
+ Core,
13
+ Graph,
14
+ Metrics,
15
+ Simulation,
16
+ Types,
17
+ };
@@ -0,0 +1,43 @@
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
+ "esnext",
12
+ "dom",
13
+ "dom.iterable"
14
+ ],
15
+ "module": "esnext",
16
+ "noEmitOnError": true,
17
+ "noFallthroughCasesInSwitch": true,
18
+ "noImplicitOverride": true,
19
+ "noImplicitReturns": true,
20
+ "noUnusedLocals": false,
21
+ "noUnusedParameters": false,
22
+ "outDir": ".",
23
+ "rootDir": ".",
24
+ "skipLibCheck": true,
25
+ "sourceMap": true,
26
+ "strict": true,
27
+ "target": "esnext",
28
+ "tsBuildInfoFile": "devtools_entrypoint-bundle-tsconfig-tsconfig.json.tsbuildinfo",
29
+ "typeRoots": [],
30
+ "useUnknownInCatchVariables": false
31
+ },
32
+ "files": [
33
+ "metrics.prebundle.ts",
34
+ "../../../../../../../../front_end/legacy/legacy-defs.d.ts",
35
+ "../../../../../../../../front_end/global_typings/global_defs.d.ts",
36
+ "../../../../../../../../node_modules/@types/filesystem/index.d.ts"
37
+ ],
38
+ "references": [
39
+ {
40
+ "path": "./metrics-tsconfig.json"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,8 @@
1
+ export * from './FirstContentfulPaint.js';
2
+ export * from './Interactive.js';
3
+ export * from './LargestContentfulPaint.js';
4
+ export * from './MaxPotentialFID.js';
5
+ export * from './Metric.js';
6
+ export * from './SpeedIndex.js';
7
+ export * from './TotalBlockingTime.js';
8
+ export * as TBTUtils from './TBTUtils.js';
@@ -0,0 +1,12 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+ export * from './FirstContentfulPaint.js';
5
+ export * from './Interactive.js';
6
+ export * from './LargestContentfulPaint.js';
7
+ export * from './MaxPotentialFID.js';
8
+ export * from './Metric.js';
9
+ export * from './SpeedIndex.js';
10
+ export * from './TotalBlockingTime.js';
11
+ export * as TBTUtils from './TBTUtils.js';
12
+ //# sourceMappingURL=metrics.prebundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metrics.prebundle.js","sourceRoot":"","sources":["metrics.prebundle.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAE7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC","sourcesContent":["// Copyright 2024 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nexport * from './FirstContentfulPaint.js';\nexport * from './Interactive.js';\nexport * from './LargestContentfulPaint.js';\nexport * from './MaxPotentialFID.js';\nexport * from './Metric.js';\nexport * from './SpeedIndex.js';\nexport * from './TotalBlockingTime.js';\nexport * as TBTUtils from './TBTUtils.js';\n"]}
@@ -0,0 +1,12 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ export * from './FirstContentfulPaint.js';
6
+ export * from './Interactive.js';
7
+ export * from './LargestContentfulPaint.js';
8
+ export * from './MaxPotentialFID.js';
9
+ export * from './Metric.js';
10
+ export * from './SpeedIndex.js';
11
+ export * from './TotalBlockingTime.js';
12
+ export * as TBTUtils from './TBTUtils.js';
@@ -0,0 +1,43 @@
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
+ "esnext",
12
+ "dom",
13
+ "dom.iterable"
14
+ ],
15
+ "module": "esnext",
16
+ "noEmitOnError": true,
17
+ "noFallthroughCasesInSwitch": true,
18
+ "noImplicitOverride": true,
19
+ "noImplicitReturns": true,
20
+ "noUnusedLocals": false,
21
+ "noUnusedParameters": false,
22
+ "outDir": ".",
23
+ "rootDir": ".",
24
+ "skipLibCheck": true,
25
+ "sourceMap": true,
26
+ "strict": true,
27
+ "target": "esnext",
28
+ "tsBuildInfoFile": "devtools_entrypoint-bundle-tsconfig-tsconfig.json.tsbuildinfo",
29
+ "typeRoots": [],
30
+ "useUnknownInCatchVariables": false
31
+ },
32
+ "files": [
33
+ "simulation.prebundle.ts",
34
+ "../../../../../../../../front_end/legacy/legacy-defs.d.ts",
35
+ "../../../../../../../../front_end/global_typings/global_defs.d.ts",
36
+ "../../../../../../../../node_modules/@types/filesystem/index.d.ts"
37
+ ],
38
+ "references": [
39
+ {
40
+ "path": "./simulation-tsconfig.json"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,6 @@
1
+ export * from './ConnectionPool.js';
2
+ export * from './Constants.js';
3
+ export * from './DNSCache.js';
4
+ export * from './SimulationTimingMap.js';
5
+ export * from './Simulator.js';
6
+ export * from './TCPConnection.js';
@@ -0,0 +1,10 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+ export * from './ConnectionPool.js';
5
+ export * from './Constants.js';
6
+ export * from './DNSCache.js';
7
+ export * from './SimulationTimingMap.js';
8
+ export * from './Simulator.js';
9
+ export * from './TCPConnection.js';
10
+ //# sourceMappingURL=simulation.prebundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simulation.prebundle.js","sourceRoot":"","sources":["simulation.prebundle.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAE7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC","sourcesContent":["// Copyright 2024 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nexport * from './ConnectionPool.js';\nexport * from './Constants.js';\nexport * from './DNSCache.js';\nexport * from './SimulationTimingMap.js';\nexport * from './Simulator.js';\nexport * from './TCPConnection.js';\n"]}
@@ -0,0 +1,10 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ export * from './ConnectionPool.js';
6
+ export * from './Constants.js';
7
+ export * from './DNSCache.js';
8
+ export * from './SimulationTimingMap.js';
9
+ export * from './Simulator.js';
10
+ export * from './TCPConnection.js';
@@ -0,0 +1,43 @@
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
+ "esnext",
12
+ "dom",
13
+ "dom.iterable"
14
+ ],
15
+ "module": "esnext",
16
+ "noEmitOnError": true,
17
+ "noFallthroughCasesInSwitch": true,
18
+ "noImplicitOverride": true,
19
+ "noImplicitReturns": true,
20
+ "noUnusedLocals": false,
21
+ "noUnusedParameters": false,
22
+ "outDir": ".",
23
+ "rootDir": ".",
24
+ "skipLibCheck": true,
25
+ "sourceMap": true,
26
+ "strict": true,
27
+ "target": "esnext",
28
+ "tsBuildInfoFile": "devtools_entrypoint-bundle-tsconfig-tsconfig.json.tsbuildinfo",
29
+ "typeRoots": [],
30
+ "useUnknownInCatchVariables": false
31
+ },
32
+ "files": [
33
+ "types.prebundle.ts",
34
+ "../../../../../../../../front_end/legacy/legacy-defs.d.ts",
35
+ "../../../../../../../../front_end/global_typings/global_defs.d.ts",
36
+ "../../../../../../../../node_modules/@types/filesystem/index.d.ts"
37
+ ],
38
+ "references": [
39
+ {
40
+ "path": "./types-tsconfig.json"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1 @@
1
+ export * from './Lantern.js';
@@ -0,0 +1,5 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+ export * from './Lantern.js';
5
+ //# sourceMappingURL=types.prebundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.prebundle.js","sourceRoot":"","sources":["types.prebundle.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAE7B,cAAc,cAAc,CAAC","sourcesContent":["// Copyright 2024 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nexport * from './Lantern.js';\n"]}
@@ -0,0 +1,5 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ export * from './Lantern.js';
@@ -0,0 +1,10 @@
1
+ import * as Extras from './extras/extras.js';
2
+ import * as Handlers from './handlers/handlers.js';
3
+ import * as Helpers from './helpers/helpers.js';
4
+ import * as Insights from './insights/insights.js';
5
+ import * as Lantern from './lantern/lantern.js';
6
+ import * as LanternComputationData from './LanternComputationData.js';
7
+ import * as TraceModel from './ModelImpl.js';
8
+ import * as Processor from './Processor.js';
9
+ import * as Types from './types/types.js';
10
+ export { Extras, Handlers, Helpers, Insights, Lantern, LanternComputationData, Processor, TraceModel, Types, };
@@ -0,0 +1,14 @@
1
+ // Copyright 2022 The Chromium Authors. All rights reserved.
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 Extras from './extras/extras.js';
5
+ import * as Handlers from './handlers/handlers.js';
6
+ import * as Helpers from './helpers/helpers.js';
7
+ import * as Insights from './insights/insights.js';
8
+ import * as Lantern from './lantern/lantern.js';
9
+ import * as LanternComputationData from './LanternComputationData.js';
10
+ import * as TraceModel from './ModelImpl.js';
11
+ import * as Processor from './Processor.js';
12
+ import * as Types from './types/types.js';
13
+ export { Extras, Handlers, Helpers, Insights, Lantern, LanternComputationData, Processor, TraceModel, Types, };
14
+ //# sourceMappingURL=trace.prebundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace.prebundle.js","sourceRoot":"","sources":["trace.prebundle.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAE7B,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AACnD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AACnD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,sBAAsB,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EACL,MAAM,EACN,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,OAAO,EACP,sBAAsB,EACtB,SAAS,EACT,UAAU,EACV,KAAK,GACN,CAAC","sourcesContent":["// Copyright 2022 The Chromium Authors. All rights reserved.\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 Extras from './extras/extras.js';\nimport * as Handlers from './handlers/handlers.js';\nimport * as Helpers from './helpers/helpers.js';\nimport * as Insights from './insights/insights.js';\nimport * as Lantern from './lantern/lantern.js';\nimport * as LanternComputationData from './LanternComputationData.js';\nimport * as TraceModel from './ModelImpl.js';\nimport * as Processor from './Processor.js';\nimport * as Types from './types/types.js';\n\nexport {\n Extras,\n Handlers,\n Helpers,\n Insights,\n Lantern,\n LanternComputationData,\n Processor,\n TraceModel,\n Types,\n};\n"]}
@@ -0,0 +1,25 @@
1
+ // Copyright 2022 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import * as Extras from './extras/extras.js';
6
+ import * as Handlers from './handlers/handlers.js';
7
+ import * as Helpers from './helpers/helpers.js';
8
+ import * as Insights from './insights/insights.js';
9
+ import * as Lantern from './lantern/lantern.js';
10
+ import * as LanternComputationData from './LanternComputationData.js';
11
+ import * as TraceModel from './ModelImpl.js';
12
+ import * as Processor from './Processor.js';
13
+ import * as Types from './types/types.js';
14
+
15
+ export {
16
+ Extras,
17
+ Handlers,
18
+ Helpers,
19
+ Insights,
20
+ Lantern,
21
+ LanternComputationData,
22
+ Processor,
23
+ TraceModel,
24
+ Types,
25
+ };
@@ -162,6 +162,7 @@ export interface MetaData {
162
162
  /** Currently only stores JS maps, not CSS. This never stores data url source maps. */
163
163
  sourceMaps?: MetadataSourceMap[];
164
164
  visualTrackConfig?: PersistedTraceVisualConfig;
165
+ hostDPR?: number;
165
166
  }
166
167
  interface MetadataSourceMap {
167
168
  url: string;
@@ -1 +1 @@
1
- {"version":3,"file":"File.js","sourceRoot":"","sources":["../../../../../../../front_end/models/trace/types/File.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAmB7B,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,wCAA0B,CAAA;IAC1B,0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C;gBACd,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;aACN,CAAC;QAC/B,KAAK,YAAY,CAAC,qBAAqB,CAAC,CAAC,CAAC;YACxC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;gBAC/D,MAAM,IAAI,KAAK,CAAC,oCAAoC,GAAG,EAAE,CAAC,CAAC;YAC7D,CAAC;YACD,OAAO;gBACL,IAAI;gBACJ,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;aACjC,CAAC;QACJ,CAAC;QAED;YACE,MAAM,IAAI,KAAK,CAAC,4BAA4B,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2023 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nimport type * as SDK from '../../../core/sdk/sdk.js';\nimport type * as Protocol from '../../../generated/protocol.js';\nimport type * as CrUXManager from '../../../models/crux-manager/crux-manager.js';\n\nimport type {TraceWindowMicro} from './Timing.js';\nimport type {Event, LegacyTimelineFrame, ProcessID, SampleIndex, ThreadID} from './TraceEvents.js';\n\nexport interface TraceFile {\n traceEvents: readonly Event[];\n metadata: MetaData;\n}\n\nexport interface Breadcrumb {\n window: TraceWindowMicro;\n child: Breadcrumb|null;\n}\n\nexport enum DataOrigin {\n CPU_PROFILE = 'CPUProfile',\n TRACE_EVENTS = 'TraceEvents',\n}\n\n/**\n * The Entries link can have 3 stated:\n * 1. The Link creation is not started yet, meaning only the button that needs to be clicked to start creating the link is visible.\n * 2. Pending to event - the creation is started, but the entry that the link points to has not been chosen yet\n * 3. Link connected - final state, both entries present\n */\nexport enum EntriesLinkState {\n CREATION_NOT_STARTED = 'creation_not_started',\n PENDING_TO_EVENT = 'pending_to_event',\n CONNECTED = 'connected',\n}\n\nexport enum EventKeyType {\n RAW_EVENT = 'r',\n SYNTHETIC_EVENT = 's',\n PROFILE_CALL = 'p',\n LEGACY_TIMELINE_FRAME = 'l',\n}\n\n/**\n * Represents an object that is saved in the file when user created annotations in the timeline.\n *\n * Expected to add more annotations.\n */\nexport interface SerializedAnnotations {\n entryLabels: EntryLabelAnnotationSerialized[];\n labelledTimeRanges: TimeRangeAnnotationSerialized[];\n linksBetweenEntries: EntriesLinkAnnotationSerialized[];\n}\n\n/**\n * Represents an object that is used to store the Entry Label annotation that is created when a user creates a label for an entry in the timeline.\n */\nexport interface EntryLabelAnnotation {\n type: 'ENTRY_LABEL';\n entry: Event|LegacyTimelineFrame;\n label: string;\n}\n\n/**\n * Represents an object that is used to store the Labelled Time Range Annotation that is created when a user creates a Time Range Selection in the timeline.\n */\nexport interface TimeRangeAnnotation {\n type: 'TIME_RANGE';\n label: string;\n bounds: TraceWindowMicro;\n}\n\nexport interface EntriesLinkAnnotation {\n type: 'ENTRIES_LINK';\n state: EntriesLinkState;\n entryFrom: Event;\n entryTo?: Event;\n}\n\n/**\n * Represents an object that is saved in the file when a user creates a label for an entry in the timeline.\n */\nexport interface EntryLabelAnnotationSerialized {\n entry: SerializableKey;\n label: string;\n}\n\n/**\n * Represents an object that is saved in the file when a user creates a time range with a label in the timeline.\n */\nexport interface TimeRangeAnnotationSerialized {\n bounds: TraceWindowMicro;\n label: string;\n}\n\n/**\n * Represents an object that is saved in the file when a user creates a link between entries in the timeline.\n */\nexport interface EntriesLinkAnnotationSerialized {\n entryFrom: SerializableKey;\n entryTo: SerializableKey;\n}\n\n/**\n * `Annotation` are the user-created annotations that are saved into the metadata.\n * Those annotations are rendered on the timeline by `Overlays.ts`\n *\n * TODO: Implement other OverlayAnnotations (annotated time ranges, links between entries).\n * TODO: Save/load overlay annotations to/from the trace file.\n */\nexport type Annotation = EntryLabelAnnotation|TimeRangeAnnotation|EntriesLinkAnnotation;\n\nexport function isTimeRangeAnnotation(annotation: Annotation): annotation is TimeRangeAnnotation {\n return annotation.type === 'TIME_RANGE';\n}\n\nexport function isEntryLabelAnnotation(annotation: Annotation): annotation is EntryLabelAnnotation {\n return annotation.type === 'ENTRY_LABEL';\n}\n\nexport function isEntriesLinkAnnotation(annotation: Annotation): annotation is EntriesLinkAnnotation {\n return annotation.type === 'ENTRIES_LINK';\n}\n\n// Serializable keys are created for trace events to be able to save\n// references to timeline events in a trace file. These keys enable\n// user modifications that can be saved. See go/cpq:event-data-json for\n// more details on the key format.\nexport type RawEventKey = `${EventKeyType.RAW_EVENT}-${number}`;\nexport type SyntheticEventKey = `${EventKeyType.SYNTHETIC_EVENT}-${number}`;\nexport type ProfileCallKey = `${EventKeyType.PROFILE_CALL}-${ProcessID}-${ThreadID}-${SampleIndex}-${Protocol.integer}`;\nexport type LegacyTimelineFrameKey = `${EventKeyType.LEGACY_TIMELINE_FRAME}-${number}`;\nexport type SerializableKey = RawEventKey|ProfileCallKey|SyntheticEventKey|LegacyTimelineFrameKey;\n\n// Serializable keys values objects contain data that maps the keys to original Trace Events\nexport interface RawEventKeyValues {\n type: EventKeyType.RAW_EVENT;\n rawIndex: number;\n}\n\nexport interface SyntheticEventKeyValues {\n type: EventKeyType.SYNTHETIC_EVENT;\n rawIndex: number;\n}\n\nexport interface ProfileCallKeyValues {\n type: EventKeyType.PROFILE_CALL;\n processID: ProcessID;\n threadID: ThreadID;\n sampleIndex: SampleIndex;\n protocol: Protocol.integer;\n}\n\nexport interface LegacyTimelineFrameKeyValues {\n type: EventKeyType.LEGACY_TIMELINE_FRAME;\n rawIndex: number;\n}\n\nexport type SerializableKeyValues =\n RawEventKeyValues|ProfileCallKeyValues|SyntheticEventKeyValues|LegacyTimelineFrameKeyValues;\n\nexport interface Modifications {\n entriesModifications: {\n // Entries hidden by the user\n hiddenEntries: SerializableKey[],\n // Entries that parent a hiddenEntry\n expandableEntries: SerializableKey[],\n };\n initialBreadcrumb: Breadcrumb;\n annotations: SerializedAnnotations;\n}\n\n// IMPORTANT: this is the same as PerfUI.FlameChart.PersistedGroupConfig\n// However, the PerfUI code should not depend on the model/trace, and similarly\n// this model cannot depend on that code, so we duplicate it.\nexport interface TrackVisualConfig {\n hidden: boolean;\n expanded: boolean;\n originalIndex: number;\n visualIndex: number;\n}\n\n/**\n * Stores the visual config if the user has modified it. Split into \"main\" and\n * \"network\" so we can pass the relevant config into the right data provider.\n */\nexport interface PersistedTraceVisualConfig {\n main: TrackVisualConfig[]|null;\n network: TrackVisualConfig[]|null;\n}\n\n/**\n * Trace metadata that we persist to the file. This will allow us to\n * store specifics for the trace, e.g., which tracks should be visible\n * on load.\n */\nexport interface MetaData {\n source?: 'DevTools';\n startTime?: string;\n emulatedDeviceTitle?: string;\n // Only set if network throttling is active.\n networkThrottling?: string;\n // Only set if network throttling is active.\n networkThrottlingConditions?: Omit<SDK.NetworkManager.Conditions, 'title'>;\n // Only set if CPU throttling is active.\n cpuThrottling?: number;\n dataOrigin?: DataOrigin;\n enhancedTraceVersion?: number;\n modifications?: Modifications;\n cruxFieldData?: CrUXManager.PageResult[];\n /** Currently only stores JS maps, not CSS. This never stores data url source maps. */\n sourceMaps?: MetadataSourceMap[];\n visualTrackConfig?: PersistedTraceVisualConfig;\n}\n\ninterface MetadataSourceMap {\n url: string;\n /** If not defined, then this was a data url. */\n sourceMapUrl?: string;\n sourceMap: SDK.SourceMap.SourceMapV3;\n}\n\nexport type Contents = TraceFile|Event[];\n\nexport function traceEventKeyToValues(key: SerializableKey): SerializableKeyValues {\n const parts = key.split('-');\n const type = parts[0];\n\n switch (type) {\n case EventKeyType.PROFILE_CALL:\n if (parts.length !== 5 ||\n !(parts.every((part, i) => i === 0 || typeof part === 'number' || !isNaN(parseInt(part, 10))))) {\n throw new Error(`Invalid ProfileCallKey: ${key}`);\n }\n return {\n type: parts[0],\n processID: parseInt(parts[1], 10),\n threadID: parseInt(parts[2], 10),\n sampleIndex: parseInt(parts[3], 10),\n protocol: parseInt(parts[4], 10),\n } as ProfileCallKeyValues;\n case EventKeyType.RAW_EVENT:\n if (parts.length !== 2 || !(typeof parts[1] === 'number' || !isNaN(parseInt(parts[1], 10)))) {\n throw new Error(`Invalid RawEvent Key: ${key}`);\n }\n return {\n type: parts[0],\n rawIndex: parseInt(parts[1], 10),\n } as RawEventKeyValues;\n case EventKeyType.SYNTHETIC_EVENT:\n if (parts.length !== 2 || !(typeof parts[1] === 'number' || !isNaN(parseInt(parts[1], 10)))) {\n throw new Error(`Invalid SyntheticEvent Key: ${key}`);\n }\n return {\n type: parts[0],\n rawIndex: parseInt(parts[1], 10),\n } as SyntheticEventKeyValues;\n case EventKeyType.LEGACY_TIMELINE_FRAME: {\n if (parts.length !== 2 || Number.isNaN(parseInt(parts[1], 10))) {\n throw new Error(`Invalid LegacyTimelineFrame Key: ${key}`);\n }\n return {\n type,\n rawIndex: parseInt(parts[1], 10),\n };\n }\n\n default:\n throw new Error(`Unknown trace event key: ${key}`);\n }\n}\n"]}
1
+ {"version":3,"file":"File.js","sourceRoot":"","sources":["../../../../../../../front_end/models/trace/types/File.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAmB7B,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,wCAA0B,CAAA;IAC1B,0CAA4B,CAAA;AAC9B,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAED;;;;;GAKG;AACH,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,iEAA6C,CAAA;IAC7C,yDAAqC,CAAA;IACrC,2CAAuB,CAAA;AACzB,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAED,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,qCAAqB,CAAA;IACrB,kCAAkB,CAAA;IAClB,2CAA2B,CAAA;AAC7B,CAAC,EALW,YAAY,KAAZ,YAAY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,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;aACjC,CAAC;QACJ,CAAC;QAED;YACE,MAAM,IAAI,KAAK,CAAC,4BAA4B,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2023 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nimport type * as SDK from '../../../core/sdk/sdk.js';\nimport type * as Protocol from '../../../generated/protocol.js';\nimport type * as CrUXManager from '../../../models/crux-manager/crux-manager.js';\n\nimport type {TraceWindowMicro} from './Timing.js';\nimport type {Event, LegacyTimelineFrame, ProcessID, SampleIndex, ThreadID} from './TraceEvents.js';\n\nexport interface TraceFile {\n traceEvents: readonly Event[];\n metadata: MetaData;\n}\n\nexport interface Breadcrumb {\n window: TraceWindowMicro;\n child: Breadcrumb|null;\n}\n\nexport enum DataOrigin {\n CPU_PROFILE = 'CPUProfile',\n TRACE_EVENTS = 'TraceEvents',\n}\n\n/**\n * The Entries link can have 3 stated:\n * 1. The Link creation is not started yet, meaning only the button that needs to be clicked to start creating the link is visible.\n * 2. Pending to event - the creation is started, but the entry that the link points to has not been chosen yet\n * 3. Link connected - final state, both entries present\n */\nexport enum EntriesLinkState {\n CREATION_NOT_STARTED = 'creation_not_started',\n PENDING_TO_EVENT = 'pending_to_event',\n CONNECTED = 'connected',\n}\n\nexport enum EventKeyType {\n RAW_EVENT = 'r',\n SYNTHETIC_EVENT = 's',\n PROFILE_CALL = 'p',\n LEGACY_TIMELINE_FRAME = 'l',\n}\n\n/**\n * Represents an object that is saved in the file when user created annotations in the timeline.\n *\n * Expected to add more annotations.\n */\nexport interface SerializedAnnotations {\n entryLabels: EntryLabelAnnotationSerialized[];\n labelledTimeRanges: TimeRangeAnnotationSerialized[];\n linksBetweenEntries: EntriesLinkAnnotationSerialized[];\n}\n\n/**\n * Represents an object that is used to store the Entry Label annotation that is created when a user creates a label for an entry in the timeline.\n */\nexport interface EntryLabelAnnotation {\n type: 'ENTRY_LABEL';\n entry: Event|LegacyTimelineFrame;\n label: string;\n}\n\n/**\n * Represents an object that is used to store the Labelled Time Range Annotation that is created when a user creates a Time Range Selection in the timeline.\n */\nexport interface TimeRangeAnnotation {\n type: 'TIME_RANGE';\n label: string;\n bounds: TraceWindowMicro;\n}\n\nexport interface EntriesLinkAnnotation {\n type: 'ENTRIES_LINK';\n state: EntriesLinkState;\n entryFrom: Event;\n entryTo?: Event;\n}\n\n/**\n * Represents an object that is saved in the file when a user creates a label for an entry in the timeline.\n */\nexport interface EntryLabelAnnotationSerialized {\n entry: SerializableKey;\n label: string;\n}\n\n/**\n * Represents an object that is saved in the file when a user creates a time range with a label in the timeline.\n */\nexport interface TimeRangeAnnotationSerialized {\n bounds: TraceWindowMicro;\n label: string;\n}\n\n/**\n * Represents an object that is saved in the file when a user creates a link between entries in the timeline.\n */\nexport interface EntriesLinkAnnotationSerialized {\n entryFrom: SerializableKey;\n entryTo: SerializableKey;\n}\n\n/**\n * `Annotation` are the user-created annotations that are saved into the metadata.\n * Those annotations are rendered on the timeline by `Overlays.ts`\n *\n * TODO: Implement other OverlayAnnotations (annotated time ranges, links between entries).\n * TODO: Save/load overlay annotations to/from the trace file.\n */\nexport type Annotation = EntryLabelAnnotation|TimeRangeAnnotation|EntriesLinkAnnotation;\n\nexport function isTimeRangeAnnotation(annotation: Annotation): annotation is TimeRangeAnnotation {\n return annotation.type === 'TIME_RANGE';\n}\n\nexport function isEntryLabelAnnotation(annotation: Annotation): annotation is EntryLabelAnnotation {\n return annotation.type === 'ENTRY_LABEL';\n}\n\nexport function isEntriesLinkAnnotation(annotation: Annotation): annotation is EntriesLinkAnnotation {\n return annotation.type === 'ENTRIES_LINK';\n}\n\n// Serializable keys are created for trace events to be able to save\n// references to timeline events in a trace file. These keys enable\n// user modifications that can be saved. See go/cpq:event-data-json for\n// more details on the key format.\nexport type RawEventKey = `${EventKeyType.RAW_EVENT}-${number}`;\nexport type SyntheticEventKey = `${EventKeyType.SYNTHETIC_EVENT}-${number}`;\nexport type ProfileCallKey = `${EventKeyType.PROFILE_CALL}-${ProcessID}-${ThreadID}-${SampleIndex}-${Protocol.integer}`;\nexport type LegacyTimelineFrameKey = `${EventKeyType.LEGACY_TIMELINE_FRAME}-${number}`;\nexport type SerializableKey = RawEventKey|ProfileCallKey|SyntheticEventKey|LegacyTimelineFrameKey;\n\n// Serializable keys values objects contain data that maps the keys to original Trace Events\nexport interface RawEventKeyValues {\n type: EventKeyType.RAW_EVENT;\n rawIndex: number;\n}\n\nexport interface SyntheticEventKeyValues {\n type: EventKeyType.SYNTHETIC_EVENT;\n rawIndex: number;\n}\n\nexport interface ProfileCallKeyValues {\n type: EventKeyType.PROFILE_CALL;\n processID: ProcessID;\n threadID: ThreadID;\n sampleIndex: SampleIndex;\n protocol: Protocol.integer;\n}\n\nexport interface LegacyTimelineFrameKeyValues {\n type: EventKeyType.LEGACY_TIMELINE_FRAME;\n rawIndex: number;\n}\n\nexport type SerializableKeyValues =\n RawEventKeyValues|ProfileCallKeyValues|SyntheticEventKeyValues|LegacyTimelineFrameKeyValues;\n\nexport interface Modifications {\n entriesModifications: {\n // Entries hidden by the user\n hiddenEntries: SerializableKey[],\n // Entries that parent a hiddenEntry\n expandableEntries: SerializableKey[],\n };\n initialBreadcrumb: Breadcrumb;\n annotations: SerializedAnnotations;\n}\n\n// IMPORTANT: this is the same as PerfUI.FlameChart.PersistedGroupConfig\n// However, the PerfUI code should not depend on the model/trace, and similarly\n// this model cannot depend on that code, so we duplicate it.\nexport interface TrackVisualConfig {\n hidden: boolean;\n expanded: boolean;\n originalIndex: number;\n visualIndex: number;\n}\n\n/**\n * Stores the visual config if the user has modified it. Split into \"main\" and\n * \"network\" so we can pass the relevant config into the right data provider.\n */\nexport interface PersistedTraceVisualConfig {\n main: TrackVisualConfig[]|null;\n network: TrackVisualConfig[]|null;\n}\n\n/**\n * Trace metadata that we persist to the file. This will allow us to\n * store specifics for the trace, e.g., which tracks should be visible\n * on load.\n */\nexport interface MetaData {\n source?: 'DevTools';\n startTime?: string;\n emulatedDeviceTitle?: string;\n // Only set if network throttling is active.\n networkThrottling?: string;\n // Only set if network throttling is active.\n networkThrottlingConditions?: Omit<SDK.NetworkManager.Conditions, 'title'>;\n // Only set if CPU throttling is active.\n cpuThrottling?: number;\n dataOrigin?: DataOrigin;\n enhancedTraceVersion?: number;\n modifications?: Modifications;\n cruxFieldData?: CrUXManager.PageResult[];\n /** Currently only stores JS maps, not CSS. This never stores data url source maps. */\n sourceMaps?: MetadataSourceMap[];\n visualTrackConfig?: PersistedTraceVisualConfig;\n hostDPR?: number;\n}\n\ninterface MetadataSourceMap {\n url: string;\n /** If not defined, then this was a data url. */\n sourceMapUrl?: string;\n sourceMap: SDK.SourceMap.SourceMapV3;\n}\n\nexport type Contents = TraceFile|Event[];\n\nexport function traceEventKeyToValues(key: SerializableKey): SerializableKeyValues {\n const parts = key.split('-');\n const type = parts[0];\n\n switch (type) {\n case EventKeyType.PROFILE_CALL:\n if (parts.length !== 5 ||\n !(parts.every((part, i) => i === 0 || typeof part === 'number' || !isNaN(parseInt(part, 10))))) {\n throw new Error(`Invalid ProfileCallKey: ${key}`);\n }\n return {\n type: parts[0],\n processID: parseInt(parts[1], 10),\n threadID: parseInt(parts[2], 10),\n sampleIndex: parseInt(parts[3], 10),\n protocol: parseInt(parts[4], 10),\n } as ProfileCallKeyValues;\n case EventKeyType.RAW_EVENT:\n if (parts.length !== 2 || !(typeof parts[1] === 'number' || !isNaN(parseInt(parts[1], 10)))) {\n throw new Error(`Invalid RawEvent Key: ${key}`);\n }\n return {\n type: parts[0],\n rawIndex: parseInt(parts[1], 10),\n } as RawEventKeyValues;\n case EventKeyType.SYNTHETIC_EVENT:\n if (parts.length !== 2 || !(typeof parts[1] === 'number' || !isNaN(parseInt(parts[1], 10)))) {\n throw new Error(`Invalid SyntheticEvent Key: ${key}`);\n }\n return {\n type: parts[0],\n rawIndex: parseInt(parts[1], 10),\n } as SyntheticEventKeyValues;\n case EventKeyType.LEGACY_TIMELINE_FRAME: {\n if (parts.length !== 2 || Number.isNaN(parseInt(parts[1], 10))) {\n throw new Error(`Invalid LegacyTimelineFrame Key: ${key}`);\n }\n return {\n type,\n rawIndex: parseInt(parts[1], 10),\n };\n }\n\n default:\n throw new Error(`Unknown trace event key: ${key}`);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Timing.js","sourceRoot":"","sources":["../../../../../../../front_end/models/trace/types/Timing.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAG7B,gEAAgE;AAChE,MAAM,UAAU,KAAK,CAAC,KAAa;IACjC,OAAO,KAAc,CAAC;AACxB,CAAC;AAGD,gEAAgE;AAChE,MAAM,UAAU,KAAK,CAAC,KAAa;IACjC,OAAO,KAAc,CAAC;AACxB,CAAC;AAED,gEAAgE;AAChE,MAAM,UAAU,OAAO,CAAC,KAAa;IACnC,OAAO,KAAgB,CAAC;AAC1B,CAAC","sourcesContent":["// Copyright 2022 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nexport type Micro = number&{_tag: 'MicroSeconds'};\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function Micro(value: number): Micro {\n return value as Micro;\n}\n\nexport type Milli = number&{_tag: 'MilliSeconds'};\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function Milli(value: number): Milli {\n return value as Milli;\n}\nexport type Seconds = number&{_tag: 'Seconds'};\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function Seconds(value: number): Seconds {\n return value as Seconds;\n}\n\nexport interface TraceWindow<TimeFormat extends Micro|Milli> {\n min: TimeFormat;\n max: TimeFormat;\n range: TimeFormat;\n}\n\nexport type TraceWindowMicro = TraceWindow<Micro>;\nexport type TraceWindowMilli = TraceWindow<Milli>;\n"]}
1
+ {"version":3,"file":"Timing.js","sourceRoot":"","sources":["../../../../../../../front_end/models/trace/types/Timing.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAG7B,gEAAgE;AAChE,MAAM,UAAU,KAAK,CAAC,KAAa;IACjC,OAAO,KAAc,CAAC;AACxB,CAAC;AAGD,gEAAgE;AAChE,MAAM,UAAU,KAAK,CAAC,KAAa;IACjC,OAAO,KAAc,CAAC;AACxB,CAAC;AAED,gEAAgE;AAChE,MAAM,UAAU,OAAO,CAAC,KAAa;IACnC,OAAO,KAAgB,CAAC;AAC1B,CAAC","sourcesContent":["// Copyright 2022 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nexport type Micro = number&{_tag: 'MicroSeconds'};\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function Micro(value: number): Micro {\n return value as Micro;\n}\n\nexport type Milli = number&{_tag: 'MilliSeconds'};\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function Milli(value: number): Milli {\n return value as Milli;\n}\nexport type Seconds = number&{_tag: 'Seconds'};\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function Seconds(value: number): Seconds {\n return value as Seconds;\n}\n\nexport interface TraceWindow<TimeFormat extends Micro|Milli> {\n min: TimeFormat;\n max: TimeFormat;\n range: TimeFormat;\n}\n\n// See front_end/models/trace/helpers/Timing.ts for helpful utility functions like traceWindowFromMicroSeconds\nexport type TraceWindowMicro = TraceWindow<Micro>;\nexport type TraceWindowMilli = TraceWindow<Milli>;\n"]}
@@ -0,0 +1,43 @@
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
+ "esnext",
12
+ "dom",
13
+ "dom.iterable"
14
+ ],
15
+ "module": "esnext",
16
+ "noEmitOnError": true,
17
+ "noFallthroughCasesInSwitch": true,
18
+ "noImplicitOverride": true,
19
+ "noImplicitReturns": true,
20
+ "noUnusedLocals": false,
21
+ "noUnusedParameters": false,
22
+ "outDir": ".",
23
+ "rootDir": ".",
24
+ "skipLibCheck": true,
25
+ "sourceMap": true,
26
+ "strict": true,
27
+ "target": "esnext",
28
+ "tsBuildInfoFile": "devtools_entrypoint-bundle-tsconfig-tsconfig.json.tsbuildinfo",
29
+ "typeRoots": [],
30
+ "useUnknownInCatchVariables": false
31
+ },
32
+ "files": [
33
+ "types.prebundle.ts",
34
+ "../../../../../../../front_end/legacy/legacy-defs.d.ts",
35
+ "../../../../../../../front_end/global_typings/global_defs.d.ts",
36
+ "../../../../../../../node_modules/@types/filesystem/index.d.ts"
37
+ ],
38
+ "references": [
39
+ {
40
+ "path": "./types-tsconfig.json"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,5 @@
1
+ export * as Configuration from './Configuration.js';
2
+ export * as Extensions from './Extensions.js';
3
+ export * as File from './File.js';
4
+ export * as Timing from './Timing.js';
5
+ export * as Events from './TraceEvents.js';
@@ -0,0 +1,9 @@
1
+ // Copyright 2022 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+ export * as Configuration from './Configuration.js';
5
+ export * as Extensions from './Extensions.js';
6
+ export * as File from './File.js';
7
+ export * as Timing from './Timing.js';
8
+ export * as Events from './TraceEvents.js';
9
+ //# sourceMappingURL=types.prebundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.prebundle.js","sourceRoot":"","sources":["types.prebundle.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,yEAAyE;AACzE,6BAA6B;AAE7B,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC","sourcesContent":["// Copyright 2022 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nexport * as Configuration from './Configuration.js';\nexport * as Extensions from './Extensions.js';\nexport * as File from './File.js';\nexport * as Timing from './Timing.js';\nexport * as Events from './TraceEvents.js';\n"]}
@@ -0,0 +1,9 @@
1
+ // Copyright 2022 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ export * as Configuration from './Configuration.js';
6
+ export * as Extensions from './Extensions.js';
7
+ export * as File from './File.js';
8
+ export * as Timing from './Timing.js';
9
+ export * as Events from './TraceEvents.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paulirish/trace_engine",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "",
5
5
  "main": "models/trace/trace.js",
6
6
  "scripts": {