cachaito
5/6/2019 - 2:09 PM

Pattern for calculating execution time

(async () => {
    console.time('importing');
    await ImportService.import();
    console.debug('Done, it took: ');
    console.timeEnd('importing');

    process.exit(0);
})();