Skip to content

Commit 866902f

Browse files
committed
chore: test
1 parent d643d74 commit 866902f

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

tests/tools/performance.test.js.snapshot

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Information on performance traces may contain main thread activity represented a
109109

110110
Each call frame is presented in the following format:
111111

112-
'id;eventKey;name;duration;selfTime;urlIndex;childRange;[S]'
112+
'id;eventKey;name;duration;selfTime;urlIndex;childRange;[line];[column];[S]'
113113

114114
Key definitions:
115115

@@ -120,15 +120,17 @@ Key definitions:
120120
* selfTime: The time spent directly within the call frame, excluding its children's execution.
121121
* urlIndex: Index referencing the "All URLs" list. Empty if no specific script URL is associated.
122122
* childRange: Specifies the direct children of this node using their IDs. If empty ('' or 'S' at the end), the node has no children. If a single number (e.g., '4'), the node has one child with that ID. If in the format 'firstId-lastId' (e.g., '4-5'), it indicates a consecutive range of child IDs from 'firstId' to 'lastId', inclusive.
123+
* line: An optional field for a call frame's line number. This is where the function is defined.
124+
* column: An optional field for a call frame's column number. This is where the function is defined.
123125
* S: _Optional_. The letter 'S' terminates the line if that call frame was selected by the user.
124126

125127
Example Call Tree:
126128

127-
1;r-123;main;500;100;;
128-
2;r-124;update;200;50;;3
129-
3;p-49575-15428179-2834-374;animate;150;20;0;4-5;S
130-
4;p-49575-15428179-3505-1162;calculatePosition;80;80;;
131-
5;p-49575-15428179-5391-2767;applyStyles;50;50;;
129+
1;r-123;main;500;100;0;1;;
130+
2;r-124;update;200;50;;3;0;1;
131+
3;p-49575-15428179-2834-374;animate;150;20;0;4-5;0;1;S
132+
4;p-49575-15428179-3505-1162;calculatePosition;80;80;0;1;;
133+
5;p-49575-15428179-5391-2767;applyStyles;50;50;0;1;;
132134

133135

134136
Network requests are formatted like this:

tests/trace-processing/parse.test.js.snapshot

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Information on performance traces may contain main thread activity represented a
5757

5858
Each call frame is presented in the following format:
5959

60-
'id;eventKey;name;duration;selfTime;urlIndex;childRange;[S]'
60+
'id;eventKey;name;duration;selfTime;urlIndex;childRange;[line];[column];[S]'
6161

6262
Key definitions:
6363

@@ -68,15 +68,17 @@ Key definitions:
6868
* selfTime: The time spent directly within the call frame, excluding its children's execution.
6969
* urlIndex: Index referencing the "All URLs" list. Empty if no specific script URL is associated.
7070
* childRange: Specifies the direct children of this node using their IDs. If empty ('' or 'S' at the end), the node has no children. If a single number (e.g., '4'), the node has one child with that ID. If in the format 'firstId-lastId' (e.g., '4-5'), it indicates a consecutive range of child IDs from 'firstId' to 'lastId', inclusive.
71+
* line: An optional field for a call frame's line number. This is where the function is defined.
72+
* column: An optional field for a call frame's column number. This is where the function is defined.
7173
* S: _Optional_. The letter 'S' terminates the line if that call frame was selected by the user.
7274

7375
Example Call Tree:
7476

75-
1;r-123;main;500;100;;
76-
2;r-124;update;200;50;;3
77-
3;p-49575-15428179-2834-374;animate;150;20;0;4-5;S
78-
4;p-49575-15428179-3505-1162;calculatePosition;80;80;;
79-
5;p-49575-15428179-5391-2767;applyStyles;50;50;;
77+
1;r-123;main;500;100;0;1;;
78+
2;r-124;update;200;50;;3;0;1;
79+
3;p-49575-15428179-2834-374;animate;150;20;0;4-5;0;1;S
80+
4;p-49575-15428179-3505-1162;calculatePosition;80;80;0;1;;
81+
5;p-49575-15428179-5391-2767;applyStyles;50;50;0;1;;
8082

8183

8284
Network requests are formatted like this:

0 commit comments

Comments
 (0)