Skip to content

Improve JSON lines read performance - #10089

Merged
michaelstaib merged 1 commit into
mainfrom
mst/jsonl-buffer
Jul 11, 2026
Merged

Improve JSON lines read performance#10089
michaelstaib merged 1 commit into
mainfrom
mst/jsonl-buffer

Conversation

@michaelstaib

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 11, 2026 17:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to improve JSON Lines (newline-delimited JSON) response read throughput in the ASP.NET Core HTTP transport by reducing the number of underlying stream reads.

Changes:

  • Increased the PipeReader buffer size used by JsonLinesReader from 4 KB to 16 KB.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown
Contributor

Patch coverage

100.0% of changed lines covered (1/1)

File Covered Changed Patch %
…/AspNetCore/src/Transport.Http/JsonLines/JsonLinesReader.cs 1 1 100.0% 🟢

Project coverage: 53.4% (227606/426395 lines)

@michaelstaib
michaelstaib merged commit 2f7e940 into main Jul 11, 2026
148 checks passed
@michaelstaib
michaelstaib deleted the mst/jsonl-buffer branch July 11, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants