]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/doc/development/monitoring.md
Improve benchmark script CLI options
[github/Chocobozzz/PeerTube.git] / support / doc / development / monitoring.md
CommitLineData
bb8f371d
C
1# Monitoring
2
3## Client modules
4
5To open a report of client build:
6
7```
8$ npm run build -- --analyze-bundle && npm run client-report
9```
10
11## API benchmark
12
13To benchmark the REST API and save result in `benchmark.json`:
14
15```
10874276
C
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
bb8f371d 23```