Config project a little & measure 7.2 time
This commit is contained in:
parent
b14b27dd6c
commit
a9fde1c6e3
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,6 +1,6 @@
|
|||||||
/tmp
|
/tmp
|
||||||
/out-tsc
|
/out-tsc
|
||||||
|
/dist
|
||||||
/node_modules
|
/node_modules
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
|
|||||||
@ -39,6 +39,7 @@ calculations.forEach(calculation => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(calcualtable)
|
console.log(calcualtable)
|
||||||
|
let start = new Date().getTime();
|
||||||
calcualtable = 0;
|
calcualtable = 0;
|
||||||
calculations.forEach(calculation => {
|
calculations.forEach(calculation => {
|
||||||
const operations = calculation.numbers.length-1;
|
const operations = calculation.numbers.length-1;
|
||||||
@ -67,4 +68,5 @@ calculations.forEach(calculation => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(calcualtable)
|
console.log(calcualtable)
|
||||||
|
console.log("Took " + (new Date().getTime() - start))
|
||||||
@ -8,5 +8,5 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"outDir": "dist"
|
"outDir": "dist"
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["tryhard"]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user