From 7a20cabad76c59de884db9656421f873599a8575 Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Thu, 4 Nov 2021 08:09:28 +0300 Subject: [PATCH] prettier output --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 9bf9e41..f0ffbf8 100644 --- a/index.js +++ b/index.js @@ -272,6 +272,7 @@ async function recursiveReaddir(rpath, p, fileNames) { //console.log(` wrote ${chalk.cyanBright(luaFilename)}`); } - console.log(`\nfinished transpiling ${chalk.magentaBright(filesAmt)} ${chalk.gray(`+ ${files.length - filesAmt}`)} files in ${chalk.magentaBright(timeTotal + 'ms')} ${chalk.gray(`(${Math.floor(timeParsing/timeTotal * 1000 + 0.5) / 10}% spent parsing)`)}`); + console.log(`\nfinished transpiling ${chalk.magentaBright(filesAmt)} ${chalk.gray(`+ ${files.length - filesAmt}`)} files in ${chalk.magentaBright(timeTotal + 'ms')} avg ${chalk.magentaBright((Math.floor(timeTotal / filesAmt * 100) / 100) + 'ms')} ${chalk.gray(`(${Math.floor(timeParsing/timeTotal * 1000 + 0.5) / 10}% spent parsing)`)}`); + console.log(`total class cache size: ${chalk.magentaBright(Object.keys(classes).length + ' classes')}`) console.log(`check ${chalk.cyanBright(outPath)}`); })(); \ No newline at end of file