diff --git a/libcal/src/libraryScraper.ts b/libcal/src/libraryScraper.ts index d5ab0b4..a3ac734 100644 --- a/libcal/src/libraryScraper.ts +++ b/libcal/src/libraryScraper.ts @@ -243,6 +243,7 @@ const runScrapeJob = async () => { }, }; + console.time("Inserting"); await axios.post( `${HASURAGRES_URL}/batch_insert`, [ @@ -293,6 +294,7 @@ const runScrapeJob = async () => { ], requestConfig ); + console.timeEnd("Inserting"); }; runScrapeJob(); diff --git a/nss/src/runScraper.ts b/nss/src/runScraper.ts index a40398b..c885001 100644 --- a/nss/src/runScraper.ts +++ b/nss/src/runScraper.ts @@ -47,6 +47,7 @@ const runScraper = async () => { }, }; + console.time("Inserting"); await axios.post( `${HASURAGRES_URL}/batch_insert`, [ @@ -114,6 +115,7 @@ const runScraper = async () => { ], requestConfig ); + console.timeEnd("Inserting"); }; runScraper();