Skip to content

Commit dc5f7aa

Browse files
authored
Move benchmark under tools (#534)
1 parent bf3ec69 commit dc5f7aa

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

site-src/performance/benchmark/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ to specify what this benchmark is for. For instance, `inference-extension` or `k
6060
the script below will watch for that log line and then start downloading results.
6161

6262
```bash
63-
benchmark_id='my-benchmark' ./benchmark/download-benchmark-results.bash
63+
benchmark_id='my-benchmark' ./tools/benchmark/download-benchmark-results.bash
6464
```
6565

66-
1. After the script finishes, you should see benchmark results under `./benchmark/output/default-run/my-benchmark/results/json` folder.
66+
1. After the script finishes, you should see benchmark results under `./tools/benchmark/output/default-run/my-benchmark/results/json` folder.
6767

6868
### Tips
6969

@@ -89,10 +89,10 @@ This guide shows how to run the jupyter notebook using vscode.
8989
1. Install the dependencies.
9090

9191
```bash
92-
pip install -r ./benchmark/requirements.txt
92+
pip install -r ./tools/benchmark/requirements.txt
9393
```
9494

95-
1. Open the notebook `./benchmark/benchmark.ipynb`, and run each cell. At the end you should
95+
1. Open the notebook `./tools/benchmark/benchmark.ipynb`, and run each cell. At the end you should
9696
see a bar chart like below:
9797

9898
![alt text](example-bar-chart.png)
File renamed without changes.
File renamed without changes.

benchmark/download-benchmark-results.bash renamed to tools/benchmark/download-benchmark-results.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ benchmark_output_dir=${SCRIPT_DIR}/${output_dir}/${run_id}/${benchmark_id}
2727

2828
echo "Saving benchmark results to ${benchmark_output_dir}/results/json/"
2929
download_benchmark_results
30-
kubectl delete -f ${SCRIPT_DIR}/../config/manifests/benchmark/benchmark.yaml
30+
kubectl delete -f ${SCRIPT_DIR}/../../config/manifests/benchmark/benchmark.yaml
File renamed without changes.

0 commit comments

Comments
 (0)