Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a ReadBuffer method to ringbuf.Reader, analogous to perf.Reader. name old time/op new time/op delta Reader/normal_epoll_with_timeout_-1-4 8.58µs ± 3% 9.07µs ± 4% ~ (p=0.057 n=4+4) name old alloc/op new alloc/op delta Reader/normal_epoll_with_timeout_-1-4 384B ± 0% 288B ± 0% -25.00% (p=0.029 n=4+4) name old allocs/op new allocs/op delta Reader/normal_epoll_with_timeout_-1-4 4.00 ± 0% 1.00 ± 0% -75.00% (p=0.029 n=4+4)
- Loading branch information
Showing
2 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters