update bench job

This commit is contained in:
Nuno Campos
2024-09-11 13:41:45 -07:00
parent 8e275fa485
commit f179da00a0
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -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"
+1 -1
View File
@@ -9,7 +9,7 @@ all: help
# Benchmarks
OUTPUT ?= out/bench.json
OUTPUT ?= out/benchmark.json
benchmark:
mkdir -p out