Compare commits

...

2 commits

Author SHA1 Message Date
7a6e83f035 Don't report time for each page
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-11-25 20:04:16 -03:00
9bd519129a ci: Report time for each site 2022-11-25 20:04:09 -03:00
2 changed files with 3 additions and 5 deletions

View file

@ -16,7 +16,7 @@ pipeline:
- tar xf la-periferica.com.ar.tar.zst
- tar xf distributed.press.tar.zst
- node .. nulo.in/
- node .. la-periferica.com.ar/
- node .. distributed.press/
- time node .. nulo.in/
- time node .. la-periferica.com.ar/
- time node .. distributed.press/

View file

@ -115,9 +115,7 @@ async function recurseDirectory(reports, path) {
else {
if (!file.name.endsWith(".html")) continue;
const content = await readFile(filePath, "utf-8");
console.time(filePath);
reports[path] = await processFile(content);
console.timeEnd(filePath);
}
}
}