Skip to content

Commit ecc7951

Browse files
authored
Merge pull request lightspeed-core#1088 from tisnik/lcore-1249-benchmarks-devel-dependency
LCORE-1249: benchmarks devel dependency
2 parents 50afe73 + 7ca4ba6 commit ecc7951

4 files changed

Lines changed: 33 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ test-e2e: ## Run end to end tests for the service
3838
test-e2e-local: ## Run end to end tests for the service
3939
uv run behave --color --format pretty --tags=-skip -D dump_errors=true @tests/e2e/test_list.txt
4040

41+
benchmarks: ## Run benchmarks
42+
uv run python -m pytest -vv tests/benchmarks/
4143

4244
check-types: ## Checks type hints in sources
4345
uv run mypy --explicit-package-bases --disallow-untyped-calls --disallow-untyped-defs --disallow-incomplete-defs --ignore-missing-imports --disable-error-code attr-defined src/ tests/unit tests/integration tests/e2e/ dev-tools/

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,14 +740,19 @@ Usage: make <OPTIONS> ... <TARGETS>
740740
Available targets are:
741741
742742
run Run the service locally
743+
help Show this help screen
744+
run-llama-stack Start Llama Stack with enriched config (for local service mode)
743745
test-unit Run the unit tests
744746
test-integration Run integration tests tests
745747
test-e2e Run end to end tests for the service
748+
test-e2e-local Run end to end tests for the service
749+
benchmarks Run benchmarks
746750
check-types Checks type hints in sources
747751
security-check Check the project for security issues
748752
format Format the code into unified format
749753
schema Generate OpenAPI schema file
750754
openapi-doc Generate OpenAPI documentation
755+
generate-documentation Generate documentation
751756
requirements.txt Generate requirements.txt file containing hashes for all non-devel packages
752757
doc Generate documentation for developers
753758
docs/config.puml Generate PlantUML class diagram for configuration
@@ -762,7 +767,7 @@ ruff Check source code using Ruff linter
762767
verify Run all linters
763768
distribution-archives Generate distribution archives to be uploaded into Python registry
764769
upload-distribution-archives Upload distribution archives into Python registry
765-
help Show this help screen
770+
konflux-requirements generate hermetic requirements.*.txt file for konflux build
766771
```
767772

768773
## Running Linux container image

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ dev = [
137137
"bandit>=1.8.6",
138138
"pybuild-deps>=0.5.0",
139139
"pip==24.3.1",
140+
"pytest-benchmark>=5.2.3",
140141
]
141142
llslibdev = [
142143
# To check llama-stack API provider dependecies:

uv.lock

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)