mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add monitoring dev doc
This commit is contained in:
parent
d61515e12a
commit
bb8f371d37
17
support/doc/development/monitoring.md
Normal file
17
support/doc/development/monitoring.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Monitoring
|
||||||
|
|
||||||
|
## Client modules
|
||||||
|
|
||||||
|
To open a report of client build:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ npm run build -- --analyze-bundle && npm run client-report
|
||||||
|
```
|
||||||
|
|
||||||
|
## API benchmark
|
||||||
|
|
||||||
|
To benchmark the REST API and save result in `benchmark.json`:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ node dist/scripts/benchmark.js benchmark.json
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user