mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Improve benchmark script CLI options
This commit is contained in:
@@ -13,5 +13,11 @@ $ npm run build -- --analyze-bundle && npm run client-report
|
||||
To benchmark the REST API and save result in `benchmark.json`:
|
||||
|
||||
```
|
||||
$ node dist/scripts/benchmark.js 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user