Skip to content

Commit 5aac327

Browse files
sxaaduh95
authored andcommitted
test: increase iterations on histogram test after snapshot changes
Signed-off-by: Stewart X Addison <sxa@ibm.com> PR-URL: #67379 Reviewed-By: Philipp Dunkel <pip@pipobscure.com> Reviewed-By: Christian Aurich Zanettini Martins <christian.aurichzm@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 3c930d2 commit 5aac327

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-perf-hooks-histogram-external-memory.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ observer.observe({ entryTypes: ['gc'] });
2626
// triggers a major GC if that memory is reported. The GC trigger and finalization
2727
// can vary depending on V8 internals, so only check the occurrence of a major GC here.
2828
const histogram = createHistogram();
29-
for (let i = 0; i < 400; i++) histogram.snapshot();
29+
for (let i = 0; i < 800; i++) histogram.snapshot();
3030

3131
(async () => {
3232
// Performance entries for garbage collections are delivered asynchronously.

0 commit comments

Comments
 (0)