GT2/GT2-iOS/node_modules/very-fast-args/bench/simple.js

10 lines
162 B
JavaScript

const vfa = require('./..');
function withVeryFastArgs() {
return vfa.apply(null, arguments);
}
for(var i = 0; i < 1e6; i++) {
withVeryFastArgs(1,2,3,4);
}