Add SSE chunking benchmark - #1116
Conversation
|
Docs preview: https://653abfad-httpx2-docs.pydantic.workers.dev |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d2c0051cdc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| benchmark(split) | ||
|
|
||
|
|
||
| def test_bench_sse_many_chunks_without_line_separator(benchmark: BenchmarkFixture) -> None: |
There was a problem hiding this comment.
Attribute the commit to the engineer
The reviewed commit records Codex <codex@openai.com> as both author and committer, but the root AGENTS.md requires authorship to belong only to the engineer. Recreate this commit with the engineer's attribution before merging.
AGENTS.md reference: AGENTS.md:L3-L3
Useful? React with 👍 / 👎.
Merging this PR will not alter performance
Performance Changes
Comparing Footnotes
|
Summary
EventSourceAPI so the benchmark reflects user-facing behavior.Motivation
Track SSE parsing performance for highly fragmented event streams.
Validation
uv run pytest tests/test_benchmark.py::test_bench_sse_many_chunks_without_line_separator -q