Skip to content

Commit

Permalink
Actually interface with codspeed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogeon committed Sep 1, 2023
1 parent 3a9fc0e commit c178edc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion palette/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,15 @@ serde_json = "1"
ron = "=0.8.0" # Pinned due to MSRV mismatch
enterpolation = "0.2.0"
scad = "1.2.2" # For regression testing #283
codspeed-criterion-compat = "2.1.0"

[dev-dependencies.clap]
version = "3.2.25"
default-features = false
features = ["std"] # Required since 3.2.25

[dev-dependencies.criterion]
version = "0.4.0"
version = "0.5.1"
default-features = false

[dev-dependencies.image]
Expand Down
2 changes: 1 addition & 1 deletion palette/benches/cie.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use codspeed_criterion_compat::{black_box, criterion_group, criterion_main, Criterion};
use palette::convert::FromColorUnclamped;
use palette::{Lab, Lch, Xyz, Yxy};

Expand Down
2 changes: 1 addition & 1 deletion palette/benches/matrix.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use codspeed_criterion_compat::{black_box, criterion_group, criterion_main, Criterion};

use palette::encoding;
use palette::matrix::{
Expand Down
2 changes: 1 addition & 1 deletion palette/benches/rgb.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use codspeed_criterion_compat::{black_box, criterion_group, criterion_main, Criterion};
use palette::convert::FromColorUnclamped;
use palette::encoding;
use palette::{Hsl, Hsv, Hwb, IntoColor, LinSrgb, Srgb};
Expand Down

0 comments on commit c178edc

Please sign in to comment.