mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-16 02:27:29 +00:00
Run resolve/install benchmarks in ci (#3281)
## Summary Runs resolver benchmarks in CI with CodSpeed.
This commit is contained in:
parent
100dbe475c
commit
1d2c57a259
6 changed files with 314 additions and 5 deletions
|
|
@ -1,7 +1,10 @@
|
|||
pub mod criterion {
|
||||
//! This module re-exports the criterion API unconditionally for now. It's
|
||||
//! intended that in the future this be a way to switch the backend to
|
||||
//! something else (like codspeed).
|
||||
//! 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::*;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue