litellm/tests/e2e/perf/cases
Kerry Lu b99d2cc06e
test(perf): ramp the load cases until the pod stops keeping up and floor sustained_rps (#47758)
* test(perf): add small_bodies_30rps and mixed_size_requests_4rps load cases

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(perf): run the load cases at 50 rps small and 5 rps mixed, the pod's knee

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(perf): ramp the load cases until the pod stops keeping up and report sustained_rps

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(perf): hand the ramp to the observation and widen the mixed ramp to 14 rps

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(perf): floor the small ramp at 20 rps and emit the per-step readings

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(perf): emit the ramp's hold bound and each step's unexpected statuses

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(perf): read each ramp step's cpu, redis latency and connections from the samplers' windows

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(perf): floor mixed_size_requests_ramp at 8 rps from the lane's 10 rps sustained step

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(perf): compare step readings with math.isclose so the e2e basedpyright gate stays clean

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: kerry <kerry@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-20 22:31:08 -07:00
..
__init__.py test(e2e): perf rig (out-of-process mocks, PerformanceTestCase runner, per-request limits) and the small_bodies_5rps case (#46713) 2026-10-15 20:14:40 +00:00
chat_completions_2rps.py test(perf): add chat_completions_2rps, responses_2rps and messages_2rps direct vs bridge cases (#47752) 2026-10-21 02:32:03 +00:00
direct_vs_bridge.py test(perf): add chat_completions_2rps, responses_2rps and messages_2rps direct vs bridge cases (#47752) 2026-10-21 02:32:03 +00:00
event_loop_stalls.py test(perf): allowlist anyio TaskHandle._run_coro in event_loop_stalls (#47746) 2026-10-21 02:12:29 +00:00
messages_2rps.py test(perf): add chat_completions_2rps, responses_2rps and messages_2rps direct vs bridge cases (#47752) 2026-10-21 02:32:03 +00:00
mixed_size_requests_2rps.py test(perf): set every perf ceiling to 1.2x the lane median (#47590) 2026-10-20 17:19:22 +00:00
mixed_size_requests_ramp.py test(perf): ramp the load cases until the pod stops keeping up and floor sustained_rps (#47758) 2026-10-20 22:31:08 -07:00
responses_2rps.py test(perf): add chat_completions_2rps, responses_2rps and messages_2rps direct vs bridge cases (#47752) 2026-10-21 02:32:03 +00:00
small_bodies_5rps.py test(perf): set the small case's postgres_max_background_statement_per_request ceiling to 0.9 (#47616) 2026-10-20 19:10:57 +00:00
small_bodies_ramp.py test(perf): ramp the load cases until the pod stops keeping up and floor sustained_rps (#47758) 2026-10-20 22:31:08 -07:00