mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: increase iterations on histogram test after snapshot changes
Signed-off-by: Stewart X Addison <sxa@ibm.com> PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
4f23168685
commit
6b0cfafe65
1 file changed
+1
-1
@@ -26,7 +26,7 @@ observer.observe({ entryTypes: ['gc'] });
|
||||
// triggers a major GC if that memory is reported. The GC trigger and finalization
|
||||
// can vary depending on V8 internals, so only check the occurrence of a major GC here.
|
||||
const histogram = createHistogram();
|
||||
for (let i = 0; i < 400; i++) histogram.snapshot();
|
||||
for (let i = 0; i < 800; i++) histogram.snapshot();
|
||||
|
||||
(async () => {
|
||||
// Performance entries for garbage collections are delivered asynchronously.
|
||||
|
||||
Reference in new issue
Block a user