]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/development/monitoring.md
Update translations
[github/Chocobozzz/PeerTube.git] / support / doc / development / monitoring.md
index 8b637e0791ca0c86b8147dde8124fb3dfc34c968..93fd1403ea08f1320e404c16bbec66bf864cd3f2 100644 (file)
@@ -5,7 +5,7 @@
 To open a report of client build:
 
 ```
-npm run build -- --analyze-bundle && npm run client-report
+npm run build -- --analyze-bundle && npm run client-report
 ```
 
 ## API benchmark
@@ -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
 ```