Skip to content

Instantly share code, notes, and snippets.

@xeioex
Created May 24, 2025 01:09
Show Gist options
  • Save xeioex/8286ee4ebe4a81e61e819ecee9176448 to your computer and use it in GitHub Desktop.
Save xeioex/8286ee4ebe4a81e61e819ecee9176448 to your computer and use it in GitHub Desktop.
function init(size) {
var o = {};
for (var i=0; i<size; i++) {
o[`some_property${i}`] = i;
}
return o;
}
function handler() {
const size = Number(process.argv[2]);
const initTime = Date.now();
let o = init(size);
const initEndTime = Date.now();
const initExecutionTime = initEndTime - initTime;
}
handler();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment