mirror of
https://github.com/astral-sh/uv
synced 2026-01-23 14:30:14 -05:00
11 lines
302 B
Rust
11 lines
302 B
Rust
pub mod criterion {
|
|
//! This module re-exports the criterion API but picks the right backend depending on whether
|
|
//! the benchmarks are built to run locally or with codspeed
|
|
|
|
#[cfg(not(codspeed))]
|
|
pub use criterion::*;
|
|
|
|
#[cfg(codspeed)]
|
|
pub use codspeed_criterion_compat::*;
|
|
}
|