Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions docs/pages/Benchmarking.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,16 @@ The following is a walk-through on how to evaluate the performance impact of an
1. In the project, start your first benchmark
```sh
hyperfine --warmup 1 \
'UI5_CLI_NO_LOCAL=X node /my/home/ui5-cli-benchmark/ui5-cli/bin/ui5.cjs build' \
--export-markdown ./baseline.md
--env 'UI5_CLI_NO_LOCAL=X' \
'node /my/home/ui5-cli-benchmark/ui5-cli/bin/ui5.cjs build' \
--export-markdown ./baseline.md
```
On Windows:
```sh
hyperfine --warmup 1 \
'set UI5_CLI_NO_LOCAL=X node /my/home/ui5-cli-benchmark/ui5-cli/bin/ui5.cjs build' \
--export-markdown ./baseline.md
--env 'UI5_CLI_NO_LOCAL=X' \
'node /my/home/ui5-cli-benchmark/ui5-cli/bin/ui5.cjs build' \
--export-markdown ./baseline.md
```
1. Your baseline benchmark is now stored in `baseline.md` and should look similar to this:

Expand All @@ -114,14 +116,16 @@ The following is a walk-through on how to evaluate the performance impact of an
1. In the project, start your second benchmark
```sh
hyperfine --warmup 1 \
'UI5_CLI_NO_LOCAL=X node /my/home/ui5-cli-benchmark/ui5-cli/bin/ui5.cjs build' \
--export-markdown ./my_change.md
--env 'UI5_CLI_NO_LOCAL=X' \
'node /my/home/ui5-cli-benchmark/ui5-cli/bin/ui5.cjs build' \
--export-markdown ./my_change.md
```
On Windows:
```sh
hyperfine --warmup 1 \
'set UI5_CLI_NO_LOCAL=X node /my/home/ui5-cli-benchmark/ui5-cli/bin/ui5.cjs build' \
--export-markdown ./my_change.md
--env 'UI5_CLI_NO_LOCAL=X' \
'node /my/home/ui5-cli-benchmark/ui5-cli/bin/ui5.cjs build' \
--export-markdown ./my_change.md
```
1. Your change's benchmark is now stored in `my_change.md`

Expand Down
Loading