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

10 lines
162 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
const vfa = require('./..');
function withVeryFastArgs() {
return vfa.apply(null, arguments);
}
for(var i = 0; i < 1e6; i++) {
withVeryFastArgs(1,2,3,4);
}