mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-20 11:48:03 +02:00
Show response time in milliseconds per request and total
This commit is contained in:
parent
04481a26e1
commit
e90718f47b
@ -357,7 +357,7 @@ const handler = async function (argv) {
|
|||||||
|
|
||||||
const summary = printRunSummary(results);
|
const summary = printRunSummary(results);
|
||||||
const totalTime = results.reduce((acc, res) => acc + res.response.responseTime, 0);
|
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) {
|
if (outputPath && outputPath.length) {
|
||||||
const outputDir = path.dirname(outputPath);
|
const outputDir = path.dirname(outputPath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user