PeerTube/support/doc/development/monitoring.md

24 lines
364 B
Markdown
Raw Normal View History

2021-05-10 12:02:25 -05:00
# Monitoring
## Client modules
To open a report of client build:
```
npm run build -- --analyze-bundle && npm run client-report
2021-05-10 12:02:25 -05:00
```
## API benchmark
To benchmark the REST API and save result in `benchmark.json`:
```
npm run benchmark-server -- -o benchmark.json
2022-02-28 08:19:44 -06:00
```
You can also grep on a specific test:
```
npm run benchmark-server -- --grep homepage
2021-05-10 12:02:25 -05:00
```