diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-12-01 23:46:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 23:46:13 +0100 |
| commit | 9e26fc60b1a91e28e799fd3ed33f8b93db13be2a (patch) | |
| tree | 3fc34123494ce7c195cd6aac55fb7546f5d18c6f /library/std/src/sys/unix/net.rs | |
| parent | 3d631b094bf6322ad77296f843275a06be5e743e (diff) | |
| parent | 59874516fae2abd97539c2c50601302c6b61ee0f (diff) | |
| download | rust-9e26fc60b1a91e28e799fd3ed33f8b93db13be2a.tar.gz rust-9e26fc60b1a91e28e799fd3ed33f8b93db13be2a.zip | |
Rollup merge of #79600 - nicokoch:kernel_copy_unixstream, r=m-ou-se
std::io: Use sendfile for UnixStream `UnixStream` was forgotten in #75272 . Benchmark yields the following results. Before: `running 1 test test sys::unix::kernel_copy::tests::bench_file_to_uds_copy ... bench: 54,399 ns/iter (+/- 6,817) = 2409 MB/s` After: `running 1 test test sys::unix::kernel_copy::tests::bench_file_to_uds_copy ... bench: 18,627 ns/iter (+/- 6,007) = 7036 MB/s`
Diffstat (limited to 'library/std/src/sys/unix/net.rs')
0 files changed, 0 insertions, 0 deletions
