tee: add splice() and tee() zero-copy fast-path#11943
Conversation
cfb3c51 to
8db29e1
Compare
Merging this PR will improve performance by 19.71%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | ls_recursive_balanced_tree[(6, 4, 15)] |
50.9 ms | 48.9 ms | +4.01% |
| ⚡ | Simulation | tee_stdin_file[10000000] |
232.8 µs | 169 µs | +37.77% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing oech3:tee-splice-m (179a204) with main (d09f351)
Footnotes
-
266 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. ↩
|
GNU testsuite comparison: |
This comment was marked as resolved.
This comment was marked as resolved.
|
I'm considering something like if you feel this is a joke. Unfortunately, I don't know how to get |
772a3ad to
795c27c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
ceba8b4 to
f66fbd1
Compare
This comment was marked as outdated.
This comment was marked as outdated.
96fdadd to
71918b9
Compare
6e9c6af to
d36fcc3
Compare
This comment was marked as outdated.
This comment was marked as outdated.
CodSpeed is not a good tool for measuring I/O performance. I think |
9b58e02 to
179a204
Compare
Closes #11466 .