1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00
Peertube/support/doc/development/monitoring.md
Chocobozzz 00ee545c24
Remove $ for bash commands
It prevents easy copy
2023-04-04 09:18:06 +02:00

23 lines
370 B
Markdown

# 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 -o benchmark.json
```
You can also grep on a specific test:
```
node dist/scripts/benchmark.js --grep homepage
```