Config project a little & measure 7.2 time

This commit is contained in:
MeerrettichMeister 2024-12-07 12:03:09 +01:00
parent b14b27dd6c
commit a9fde1c6e3
3 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,6 +1,6 @@
/tmp
/out-tsc
/dist
/node_modules
npm-debug.log*
yarn-debug.log*

View File

@ -39,6 +39,7 @@ calculations.forEach(calculation => {
}
})
console.log(calcualtable)
let start = new Date().getTime();
calcualtable = 0;
calculations.forEach(calculation => {
const operations = calculation.numbers.length-1;
@ -68,3 +69,4 @@ calculations.forEach(calculation => {
}
})
console.log(calcualtable)
console.log("Took " + (new Date().getTime() - start))

View File

@ -8,5 +8,5 @@
"skipLibCheck": true,
"outDir": "dist"
},
"include": ["src"]
"include": ["tryhard"]
}