Conversation
ae5e79e to
043beed
Compare
a45c2a6 to
a2791e9
Compare
|
Hey, just reviewing the benchmarks so far, looks great! |
8769562 to
f562111
Compare
|
Oopsie, I didn't pushed my local head. |
f562111 to
f16945a
Compare
| let mut total = Duration::ZERO; | ||
| for _ in 0..iters { | ||
| let mut enc = Encoder::<TestMsg>::new(); | ||
| let held: Vec<_> = (0u8..8) |
There was a problem hiding this comment.
you are getting this (0u8..8) from the POOL_CAPACITY in buffer_sv2?
If yes, I would encourage to get this value from the crate itself. If we ever change this capacity, the bench will become silently outdated. Also apply this in the other places that we need
There was a problem hiding this comment.
Its not exposed publicly to downstream crates. Opened an issue: #2130
| drop(held); | ||
| } | ||
|
|
||
| eprintln!( |
There was a problem hiding this comment.
this seems unusual. was it intentional to add here? or is just a leftover?
There was a problem hiding this comment.
Yeah, I agree. I just couldn’t come up with a better way to observe the allocations and deallocations during these operations. I might remove them later if I find a cleaner approach.
f16945a to
b6cebab
Compare
b6cebab to
5901a68
Compare
lucasbalieiro
left a comment
There was a problem hiding this comment.
tACK 5901a68
The two open remaining points are non-blockers for me: #2058 (comment) and #2058 (comment)
5901a68 to
e5408b3
Compare
closes: #2060