From 1087427616d21f5d82416ae8ee1d8802d88248ff Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 28 Feb 2022 15:19:44 +0100 Subject: Improve benchmark script CLI options --- support/doc/development/monitoring.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'support/doc') diff --git a/support/doc/development/monitoring.md b/support/doc/development/monitoring.md index 8b637e079..9dcc2d563 100644 --- a/support/doc/development/monitoring.md +++ b/support/doc/development/monitoring.md @@ -13,5 +13,11 @@ $ npm run build -- --analyze-bundle && npm run client-report To benchmark the REST API and save result in `benchmark.json`: ``` -$ node dist/scripts/benchmark.js benchmark.json +$ node dist/scripts/benchmark.js -o benchmark.json +``` + +You can also grep on a specific test: + +``` +$ node dist/scripts/benchmark.js --grep homepage ``` -- cgit v1.2.3