diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 878d92a20..3eb458ccb 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -28,7 +28,7 @@ jobs: - name: Install dependencies run: poetry install --with dev - name: Run benchmarks - run: make bench + run: make benchmark - name: Upload benchmark baseline uses: actions/upload-artifact@v4 with: @@ -53,7 +53,7 @@ jobs: - name: Install dependencies run: poetry install --with dev - name: Run benchmarks - run: make bench + run: make benchmark - name: Download benchmark baseline uses: actions/download-artifact@v4 with: diff --git a/libs/langgraph/Makefile b/libs/langgraph/Makefile index 6d9944f71..1c478f4b2 100644 --- a/libs/langgraph/Makefile +++ b/libs/langgraph/Makefile @@ -1,4 +1,4 @@ -.PHONY: all format lint test test_watch integration_tests spell_check spell_fix bench profile +.PHONY: all format lint test test_watch integration_tests spell_check spell_fix benchmark profile # Default target executed when no arguments are given to make. all: help @@ -11,7 +11,7 @@ all: help OUTPUT ?= out/bench.json -bench: +benchmark: mkdir -p out poetry run python -m bench -o $(OUTPUT) --rigorous