litellm/tests/benchmarks
mateo-berri ccdf67b9ae test(benchmarks): benchmark Presidio's first-frame wait over many leading reads and a frame split into many reads
Unit tests can't check the wait's cost without timing it, so CodSpeed now times the real wait over 6000 leading non-object reads and over one 48 KB frame in 16-byte reads. Rescanning every classified frame for a JSON object, or searching the whole unclassified tail for a frame end, makes these runs many times slower

(cherry picked from commit 0203a49ccf)
2026-11-25 02:16:49 -08:00
..
__init__.py Add CodSpeed performance benchmarks (#23676) 2026-03-14 18:44:36 -07:00
conftest.py feat(tokenizer): preserve Python defaults with opt-in Rust dispatch (#42174) 2026-09-22 04:41:11 +00:00
test_a2a_benchmarks.py test(benchmarks): add CodSpeed benchmarks for inference, MCP and A2A hot paths (#31716) 2026-06-30 10:27:12 -07:00
test_benchmarks.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
test_inference_benchmarks.py test(benchmarks): add CodSpeed benchmarks for inference, MCP and A2A hot paths (#31716) 2026-06-30 10:27:12 -07:00
test_mcp_benchmarks.py test(benchmarks): add CodSpeed benchmarks for inference, MCP and A2A hot paths (#31716) 2026-06-30 10:27:12 -07:00
test_presidio_benchmarks.py test(benchmarks): benchmark Presidio's first-frame wait over many leading reads and a frame split into many reads 2026-11-25 02:16:49 -08:00
test_prompt_template_benchmarks.py test: track the long $defs chain cost with a CodSpeed benchmark instead of wall time 2026-11-24 02:56:11 -08:00