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

Function tearDown

deps/v8/test/js-perf-test/ClassFields/evaluate-class.js:65–75  ·  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 klass of array) {
71 const instance = new klass();
72 if (!instance.check())
73 throw new Error(`instance.check() failed`);
74 }
75 }
76
77 const DETERMINISTIC_RUNS = 1;
78 const LOCAL_ITERATIONS = 100;

Callers 1

run_fnFunction · 0.50

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected