Skip to content

Commit

Permalink
update bench job
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Sep 11, 2024
1 parent 8e275fa commit f179da0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
2 changes: 1 addition & 1 deletion libs/langgraph/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ all: help

# Benchmarks

OUTPUT ?= out/bench.json
OUTPUT ?= out/benchmark.json

benchmark:
mkdir -p out
Expand Down

0 comments on commit f179da0

Please sign in to comment.