Skip to content

tee: add splice() and tee() zero-copy fast-path#11943

Open
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:tee-splice-m
Open

tee: add splice() and tee() zero-copy fast-path#11943
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:tee-splice-m

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented Apr 22, 2026

Closes #11466 .

> tee </tmp/huge |pv >/dev/null
^C58GiB 0:00:01 [2.58GiB/s] 
> tee-splice </tmp/huge |pv >/dev/null
^C.6GiB 0:00:02 [38.4GiB/s]

@oech3 oech3 force-pushed the tee-splice-m branch 3 times, most recently from cfb3c51 to 8db29e1 Compare April 22, 2026 13:14
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 22, 2026

Merging this PR will not alter performance

✅ 309 untouched benchmarks
⏩ 46 skipped benchmarks1


Comparing oech3:tee-splice-m (5d9f980) with main (2f49d8e)

Open in CodSpeed

Footnotes

  1. 46 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 22, 2026

GNU testsuite comparison:

Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/cut/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/env/env-signal-handler was skipped on 'main' but is now failing.
Skip an intermittent issue tests/tail/tail-n0f (was skipped on 'main', now failing)

@oech3 oech3 marked this pull request as ready for review April 22, 2026 14:44
@oech3

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tee: use splice and tee syscalls for performance

1 participant