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