-
This is a tracking issue for the `#[bench]` attribute and its stability in the compiler. Currently it is not possible to use this from stable Rust as it requires `extern crate test` which is itself no…
-
Hi,
I've been experimenting with criterion and whilst it looks good (really good),after reading the docs I'm still at a loss WRT how exactly samples are being collected.
Suppose we have a benchm…
-
To process a packet, we currently read each layer and then advance the `r/wptr` fields of the `mblk_t` containing the packet and its headers. This leaves the original headers in place. We then determi…
-
I've always been wondering if it wouldn't make more sense to benchmark very fast operations with a subtractive timing model against a task specific reference noop. The logic of the timing loop would b…
-
For now there are some PRs blocked because of lack of good benches (https://github.com/rust-lang-nursery/libm/pull/169 and friends).
- [x] Shall we use criterion?
- [x] ~~We can probably just use …
-
There are a lot of old `unsafe` blocks in Criterion.rs' internals. Many of them were written to work around compiler bugs or missing features that have since been fixed (see https://github.com/japaric…
-
Advanced techniques that have complexity to implement:
- Unload the code periodically while benchmarking. This slows the process down, but also forces the code to eat some of the cost of how it com…
-
As discussed in the dev call on April 18, 2024, we'd like to integrate an ML library written in Rust with our Manticore Search code. Before proceeding, we'd like to experiment with using a Rust librar…
-
Latency values (such as those from performance time measurements) often follow a heavy-tailed distribution -- especially when there are spontaneous delays involved, e.g. when garbage collection enters…
-
```
❯ cargo tree | grep eyre
│ ├── color-eyre v0.6.2
│ │ ├── eyre v0.6.8
```
I have some code that looks roughly like this:
```rust
loop {
spin_poller().wrap_err(eyre!("error"))?;
}…