You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -108,13 +108,13 @@ check-format check-fmt: #? check the formatting of the project using ruff.
108
108
$(activate_venv)&& ruff format . --check $(args)
109
109
110
110
test: #? run the tests using pytest-xdist.
111
-
$(activate_venv)&& pytest -n auto -m 'not integration and not performance'$(args)
111
+
$(activate_venv)&& pytest tests/unit -n auto -m 'not integration and not performance'$(args)
112
112
113
113
test-verbose: #? run the tests using pytest-xdist with DEBUG logging.
114
-
$(activate_venv)&& pytest -n auto -v -s --log-cli-level=DEBUG -m 'not integration and not performance'
114
+
$(activate_venv)&& pytest tests/unit -n auto -v -s --log-cli-level=DEBUG -m 'not integration and not performance'
115
115
116
116
coverage: #? run the tests and generate an html coverage report.
117
-
$(activate_venv)&& pytest -n auto --cov=src/aiperf --cov-branch --cov-report=html --cov-report=xml --cov-report=term -m 'not integration and not performance'$(args)
117
+
$(activate_venv)&& pytest tests/unit -n auto --cov=src/aiperf --cov-branch --cov-report=html --cov-report=xml --cov-report=term -m 'not integration and not performance'$(args)
118
118
119
119
install: install-app install-mock-server #? install the project and mock server in editable mode.
120
120
@@ -160,9 +160,6 @@ setup-venv: #? create the virtual environment.
$(activate_venv)&& pytest tests/integration/ -m 'integration and not stress and not performance' -vv -s --tb=short --log-cli-level=INFO --capture=no $(args)
208
205
@printf "$(bold)$(green)AIPerf Mock Server integration tests passed!$(reset)\n"
206
+
207
+
generate-cli-docs: #? generate the CLI documentation.
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ Features
61
61
|**[Request Rate with Max Concurrency](docs/tutorials/request-rate-concurrency.md)**| Dual control of request timing and concurrent connection ceiling (Poisson or constant modes) | Testing API rate/concurrency limits, avoiding thundering herd, realistic client simulation |
|**[Template Endpoint](docs/tutorials/template-endpoint.md)**| Benchmark custom APIs with flexible Jinja2 request templates | Custom API formats, rapid prototyping, non-standard endpoints |
64
+
|**[SGLang Image Generation](docs/tutorials/sglang-image-generation.md)**| Benchmark image generation APIs using SGLang with FLUX.1-dev model | Image generation testing, text-to-image benchmarking, extracting generated images |
64
65
65
66
### Working with Benchmark Data
66
67
-**[Profile Exports](docs/tutorials/working-with-profile-exports.md)** - Parse and analyze `profile_export.jsonl` with Pydantic models, custom metrics, and async processing
0 commit comments