diff --git a/.gitignore b/.gitignore index 253b567..08ce778 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ /tmp /out-tsc - +/dist /node_modules npm-debug.log* yarn-debug.log* diff --git a/src/7/index.ts b/src/7/index.ts index 15a8132..e84b3c8 100644 --- a/src/7/index.ts +++ b/src/7/index.ts @@ -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; @@ -67,4 +68,5 @@ calculations.forEach(calculation => { } } }) -console.log(calcualtable) \ No newline at end of file +console.log(calcualtable) +console.log("Took " + (new Date().getTime() - start)) \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 3a172fd..55fed41 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,5 +8,5 @@ "skipLibCheck": true, "outDir": "dist" }, - "include": ["src"] + "include": ["tryhard"] }