Run resolve/install benchmarks in ci (#3281)

## Summary

Runs resolver benchmarks in CI with CodSpeed.
This commit is contained in:
Ibraheem Ahmed 2024-04-30 13:39:42 -04:00 committed by GitHub
parent 100dbe475c
commit 1d2c57a259
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 314 additions and 5 deletions

View file

@ -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::*;
}