From 3a9bf8230feddf660ddb549e69ae85e096f1e3c9 Mon Sep 17 00:00:00 2001 From: JJJ-NONAME <18215909115@163.com> Date: Sat, 26 Sep 2026 15:02:55 +0800 Subject: [PATCH 1/2] docs: fix performance benchmark script paths --- docs/benchmarks/performance/README.md | 2 +- docs/benchmarks/performance/measure-cli.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/benchmarks/performance/README.md b/docs/benchmarks/performance/README.md index b6fc3b6316..c7e783c1b9 100644 --- a/docs/benchmarks/performance/README.md +++ b/docs/benchmarks/performance/README.md @@ -7,7 +7,7 @@ the on-disk and one-turn tables there came from other means, and `METHOD-REVIEW. records what is and is not documented about them. ```bash -WORKDIR=$PWD docs/benchmarks/measure-cli.sh codeaf /tmp/bench-home/codeaf ./bin/codeaf chat +WORKDIR=$PWD docs/benchmarks/performance/measure-cli.sh codeaf /tmp/bench-home/codeaf ./bin/codeaf chat ``` Run it once per CLI, on the same machine, in the same working directory, within the same diff --git a/docs/benchmarks/performance/measure-cli.sh b/docs/benchmarks/performance/measure-cli.sh index 3a26cb5688..16c6529f1f 100755 --- a/docs/benchmarks/performance/measure-cli.sh +++ b/docs/benchmarks/performance/measure-cli.sh @@ -5,7 +5,7 @@ # # From the root of a real repository: # -# WORKDIR=$PWD docs/benchmarks/measure-cli.sh mine /tmp/bench-home/mine bin/mine chat +# WORKDIR=$PWD docs/benchmarks/performance/measure-cli.sh mine /tmp/bench-home/mine bin/mine chat # # only labels the output, the tmux session and the run; nothing about the # CLI is inferred from it. is the profile the CLI runs under — an From 4b3a3db92f5f6765984cbf5753a62197cbb3aa98 Mon Sep 17 00:00:00 2001 From: JJJ-NONAME <18215909115@163.com> Date: Sat, 26 Sep 2026 15:07:05 +0800 Subject: [PATCH 2/2] docs: record performance benchmark path fix --- .../1536-performance-benchmark-script-path.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/changes/unreleased/1536-performance-benchmark-script-path.md diff --git a/docs/changes/unreleased/1536-performance-benchmark-script-path.md b/docs/changes/unreleased/1536-performance-benchmark-script-path.md new file mode 100644 index 0000000000..2cc44f757a --- /dev/null +++ b/docs/changes/unreleased/1536-performance-benchmark-script-path.md @@ -0,0 +1,11 @@ +--- +kind: fixed +title: Performance benchmark examples use the script's real path +pr: 1536 +surface: [docs] +invalidates: + - "The benchmark examples pointed to docs/benchmarks/measure-cli.sh, which does not exist. The script lives under docs/benchmarks/performance/measure-cli.sh." +--- + +The performance benchmark README and the script's own usage example now resolve +the executable from the repository root.