error[E0599]: no variant named `ElementsAndBytes` found for enum `Throughput`
--> crates/REDACTED/benches/support/mod.rs:19:21
|
19 | Throughput::ElementsAndBytes {
| ^^^^^^^^^^^^^^^^ variant not found in `Throughput`
This might be an intentional gap, but if so it'd be great to have it documented as explicitly not supported like the other APIs that aren't π
It looks like the criterion upstream added this in 0.8.0:
https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md#080---2025-11-29
Relevant API docs:
https://docs.rs/criterion/latest/criterion/enum.Throughput.html#variant.ElementsAndBytes
Whereas with
codspeed-criterion-compatone gets:This might be an intentional gap, but if so it'd be great to have it documented as explicitly not supported like the other APIs that aren't π
https://github.com/CodSpeedHQ/codspeed-rust/tree/main/crates/criterion_compat#not-supported