diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-28 15:19:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-28 15:19:44 +0100 |
commit | 1087427616d21f5d82416ae8ee1d8802d88248ff (patch) | |
tree | 59330e93ba857c2cc122370802a1848ded97d0d9 /support/doc/development | |
parent | f7ac03ee94d9d32e26bd712e8dc05a6109f5e835 (diff) | |
download | PeerTube-1087427616d21f5d82416ae8ee1d8802d88248ff.tar.gz PeerTube-1087427616d21f5d82416ae8ee1d8802d88248ff.tar.zst PeerTube-1087427616d21f5d82416ae8ee1d8802d88248ff.zip |
Improve benchmark script CLI options
Diffstat (limited to 'support/doc/development')
-rw-r--r-- | support/doc/development/monitoring.md | 8 |
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 | |||
13 | To benchmark the REST API and save result in `benchmark.json`: | 13 | To 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 | |||
19 | You can also grep on a specific test: | ||
20 | |||
21 | ``` | ||
22 | $ node dist/scripts/benchmark.js --grep homepage | ||
17 | ``` | 23 | ``` |