aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-28 15:19:44 +0100
committerChocobozzz <me@florianbigard.com>2022-02-28 15:19:44 +0100
commit1087427616d21f5d82416ae8ee1d8802d88248ff (patch)
tree59330e93ba857c2cc122370802a1848ded97d0d9 /support/doc
parentf7ac03ee94d9d32e26bd712e8dc05a6109f5e835 (diff)
downloadPeerTube-1087427616d21f5d82416ae8ee1d8802d88248ff.tar.gz
PeerTube-1087427616d21f5d82416ae8ee1d8802d88248ff.tar.zst
PeerTube-1087427616d21f5d82416ae8ee1d8802d88248ff.zip
Improve benchmark script CLI options
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/development/monitoring.md8
1 files changed, 7 insertions, 1 deletions
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
13To benchmark the REST API and save result in `benchmark.json`: 13To benchmark the REST API and save result in `benchmark.json`:
14 14
15``` 15```
16$ node dist/scripts/benchmark.js benchmark.json 16$ node dist/scripts/benchmark.js -o benchmark.json
17```
18
19You can also grep on a specific test:
20
21```
22$ node dist/scripts/benchmark.js --grep homepage
17``` 23```