Skip to content

Commit 8a2f55c

Browse files
fix(ci): use percent assertions for node_heap objects profile
Absolute object counts are unstable across Node CI runners; switch to percent-based checks with wider margins while keeping space assertions.
1 parent f3d2a1f commit 8a2f55c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scenarios/node_heap/expected_profile.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"stack-content": [
77
{
88
"regular_expression": "processTimers;listOnTimeout;work;b;slice",
9-
"value": 50,
10-
"error_margin": 20
9+
"percent": 10,
10+
"error_margin": 35
1111
},
1212
{
1313
"regular_expression": "processTimers;listOnTimeout;work;a;slice",
14-
"value": 50,
15-
"error_margin": 20
14+
"percent": 55,
15+
"error_margin": 35
1616
}
1717
]
1818
},

0 commit comments

Comments
 (0)