Show response time in milliseconds per request and total

This commit is contained in:
Stefan Ollinger 2023-10-05 16:42:49 +02:00
parent 04481a26e1
commit e90718f47b

View File

@ -357,7 +357,7 @@ const handler = async function (argv) {
const summary = printRunSummary(results);
const totalTime = results.reduce((acc, res) => acc + res.response.responseTime, 0);
console.log(chalk.dim(chalk.grey(`Ran all requests. - ${totalTime} ms`)));
console.log(chalk.dim(chalk.grey(`Ran all requests - ${totalTime} ms`)));
if (outputPath && outputPath.length) {
const outputDir = path.dirname(outputPath);