.
diff --git a/sparse_strips/vello_bench/src/fine/strip.rs b/sparse_strips/vello_bench/src/fine/strip.rs index 43f4ec1..56f728e 100644 --- a/sparse_strips/vello_bench/src/fine/strip.rs +++ b/sparse_strips/vello_bench/src/fine/strip.rs
@@ -16,11 +16,21 @@ use vello_dev_macros::vello_bench; pub fn strip(c: &mut Criterion) { + solid_single(c); solid_short(c); + solid_medium(c); solid_long(c); } #[vello_bench] +pub fn solid_single<S: Simd, N: FineKernel<S>>(b: &mut Bencher<'_>, fine: &mut Fine<S, N>) { + let paint = Paint::Solid(PremulColor::from_alpha_color(ROYAL_BLUE)); + let width = Tile::WIDTH; + + strip_single(&paint, &[], width as usize, b, fine); +} + +#[vello_bench] pub fn solid_short<S: Simd, N: FineKernel<S>>(b: &mut Bencher<'_>, fine: &mut Fine<S, N>) { let paint = Paint::Solid(PremulColor::from_alpha_color(ROYAL_BLUE)); let width = 8; @@ -29,6 +39,14 @@ } #[vello_bench] +pub fn solid_medium<S: Simd, N: FineKernel<S>>(b: &mut Bencher<'_>, fine: &mut Fine<S, N>) { + let paint = Paint::Solid(PremulColor::from_alpha_color(ROYAL_BLUE)); + let width = 16; + + strip_single(&paint, &[], width, b, fine); +} + +#[vello_bench] pub fn solid_long<S: Simd, N: FineKernel<S>>(b: &mut Bencher<'_>, fine: &mut Fine<S, N>) { let paint = Paint::Solid(PremulColor::from_alpha_color(ROYAL_BLUE)); let width = 64;