]>
Commit | Line | Data |
---|---|---|
1 | # Monitoring | |
2 | ||
3 | ## Client modules | |
4 | ||
5 | To open a report of client build: | |
6 | ||
7 | ``` | |
8 | $ npm run build -- --analyze-bundle && npm run client-report | |
9 | ``` | |
10 | ||
11 | ## API benchmark | |
12 | ||
13 | To benchmark the REST API and save result in `benchmark.json`: | |
14 | ||
15 | ``` | |
16 | $ node dist/scripts/benchmark.js -o benchmark.json | |
17 | ``` | |
18 | ||
19 | You can also grep on a specific test: | |
20 | ||
21 | ``` | |
22 | $ node dist/scripts/benchmark.js --grep homepage | |
23 | ``` |