MCPcopy Create free account
hub / github.com/nodejs/node / tearDown

Function tearDown

deps/v8/test/js-perf-test/ClassFields/initialize-instance.js:65–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 function tearDown() {
66 if (array.length < 3) {
67 throw new Error(`Check failed, array length ${array.length}`);
68 }
69
70 for (const instance of array) {
71 if (!instance.check())
72 throw new Error(`instance.check() failed`);
73 }
74 }
75
76 const DETERMINISTIC_RUNS = 1;
77 const LOCAL_ITERATIONS = 10000;

Callers

nothing calls this directly

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected