@lage-run/reporters 1.0.1 → 1.0.3
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/CHANGELOG.json +31 -1
- package/CHANGELOG.md +18 -2
- package/lib/ChromeTraceEventsReporter.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
"name": "@lage-run/reporters",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Sat, 18 Feb 2023 00:43:24 GMT",
|
|
6
|
+
"tag": "@lage-run/reporters_v1.0.3",
|
|
7
|
+
"version": "1.0.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "felescoto95@hotmail.com",
|
|
12
|
+
"package": "@lage-run/reporters",
|
|
13
|
+
"commit": "d6b4b81f694ee20c10f2521dd3058547699562c4",
|
|
14
|
+
"comment": "ChromeTraceEventsReporter: Add task name to category"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Sat, 18 Feb 2023 00:40:18 GMT",
|
|
21
|
+
"tag": "@lage-run/reporters_v1.0.2",
|
|
22
|
+
"version": "1.0.2",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "felescoto95@hotmail.com",
|
|
27
|
+
"package": "@lage-run/reporters",
|
|
28
|
+
"commit": "75247c3e9172dc763c5253cf94014b99ac2f4fc4",
|
|
29
|
+
"comment": "ChromeTraceEventsReporter: Hide skipped tasks from the profile"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Wed, 15 Feb 2023 16:47:12 GMT",
|
|
6
36
|
"tag": "@lage-run/reporters_v1.0.1",
|
|
7
37
|
"version": "1.0.1",
|
|
8
38
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
# Change Log - @lage-run/reporters
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Sat, 18 Feb 2023 00:43:24 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.0.3
|
|
8
|
+
|
|
9
|
+
Sat, 18 Feb 2023 00:43:24 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- ChromeTraceEventsReporter: Add task name to category (felescoto95@hotmail.com)
|
|
14
|
+
|
|
15
|
+
## 1.0.2
|
|
16
|
+
|
|
17
|
+
Sat, 18 Feb 2023 00:40:18 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- ChromeTraceEventsReporter: Hide skipped tasks from the profile (felescoto95@hotmail.com)
|
|
22
|
+
|
|
7
23
|
## 1.0.1
|
|
8
24
|
|
|
9
|
-
Wed, 15 Feb 2023 16:
|
|
25
|
+
Wed, 15 Feb 2023 16:47:12 GMT
|
|
10
26
|
|
|
11
27
|
### Patches
|
|
12
28
|
|
|
@@ -32,12 +32,14 @@ class ChromeTraceEventsReporter {
|
|
|
32
32
|
// categorize events
|
|
33
33
|
const { categorize } = this.options;
|
|
34
34
|
for (const targetRun of targetRuns.values()){
|
|
35
|
-
|
|
35
|
+
// Skip hidden targets because those should be hidden by reporters.
|
|
36
|
+
// Hiding as well skipped targets to avoid polluting the profile.
|
|
37
|
+
if (targetRun.target.hidden || targetRun.status === "skipped") {
|
|
36
38
|
continue;
|
|
37
39
|
}
|
|
38
40
|
const event = {
|
|
39
41
|
name: targetRun.target.id,
|
|
40
|
-
cat: targetRun.status
|
|
42
|
+
cat: `${targetRun.status}#${targetRun.target.task}`,
|
|
41
43
|
ph: "X",
|
|
42
44
|
ts: hrTimeToMicroseconds(targetRun.startTime) - hrTimeToMicroseconds(startTime),
|
|
43
45
|
dur: hrTimeToMicroseconds(targetRun.duration ?? [
|