diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index a93146a88..faf436177 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -31,8 +31,8 @@ jobs: - name: Upload benchmark baseline uses: actions/upload-artifact@v4 with: - name: bench-baseline.json - path: out/bench.json + name: benchmark-baseline.json + path: libs/langgraph/out/benchmark.json compare: runs-on: ubuntu-latest defaults: @@ -55,9 +55,9 @@ jobs: - name: Download benchmark baseline uses: actions/download-artifact@v4 with: - name: bench-baseline.json + name: benchmark-baseline.json path: out - name: Compare benchmarks - run: poetry run pyperf compare_to out/bench-baseline.json out/bench.json --table --group-by-speed >> $GITHUB_OUTPUT + run: poetry run pyperf compare_to out/benchmark-baseline.json out/benchmark.json --table --group-by-speed >> $GITHUB_OUTPUT - name: Annotation run: echo "::notice file=libs/langgraph/bench/__main__.py::$GITHUB_OUTPUT" diff --git a/libs/langgraph/Makefile b/libs/langgraph/Makefile index 1c478f4b2..4f5b9ad82 100644 --- a/libs/langgraph/Makefile +++ b/libs/langgraph/Makefile @@ -9,7 +9,7 @@ all: help # Benchmarks -OUTPUT ?= out/bench.json +OUTPUT ?= out/benchmark.json benchmark: mkdir -p out