diff --git a/encodings/fastlanes/benches/compute_between.rs b/encodings/fastlanes/benches/compute_between.rs index 440bcafddf8..85c3608c39f 100644 --- a/encodings/fastlanes/benches/compute_between.rs +++ b/encodings/fastlanes/benches/compute_between.rs @@ -173,44 +173,6 @@ mod bitpack { use crate::BENCH_ARGS; use crate::generate_bit_pack_primitive_array; - #[divan::bench( - types = [i16, i32, i64], - args = BENCH_ARGS, - )] - fn old_bp_prim_test_between(bencher: Bencher, len: usize) - where - T: NumCast + NativePType, - vortex_array::scalar::Scalar: From, - { - let min = T::from_usize(5561).vortex_expect(""); - let max = T::from_usize(6032).vortex_expect(""); - let mut rng = StdRng::seed_from_u64(0); - let arr = generate_bit_pack_primitive_array::(&mut rng, len); - - bencher - .with_inputs(|| (&arr, LEGACY_SESSION.create_execution_ctx())) - .bench_refs(|(arr, ctx)| { - let gte = arr - .clone() - .binary( - ConstantArray::new(min, arr.len()).into_array(), - Operator::Gte, - ) - .vortex_expect(""); - let lt = arr - .clone() - .binary( - ConstantArray::new(max, arr.len()).into_array(), - Operator::Lt, - ) - .vortex_expect(""); - gte.binary(lt, Operator::And) - .unwrap() - .execute::(ctx) - .unwrap() - }) - } - #[divan::bench( types = [i16, i32, i64], args = BENCH_ARGS, @@ -264,44 +226,6 @@ mod alp { use crate::BENCH_ARGS; use crate::generate_alp_bit_pack_primitive_array; - #[divan::bench( - types = [f32, f64], - args = BENCH_ARGS, - )] - fn old_alp_prim_test_between(bencher: Bencher, len: usize) - where - T: NumCast + NativePType, - vortex_array::scalar::Scalar: From, - { - let min = T::from_usize(5561).vortex_expect(""); - let max = T::from_usize(6032).vortex_expect(""); - let mut rng = StdRng::seed_from_u64(0); - let arr = generate_alp_bit_pack_primitive_array::(&mut rng, len); - - bencher - .with_inputs(|| (&arr, LEGACY_SESSION.create_execution_ctx())) - .bench_refs(|(arr, ctx)| { - let gte = arr - .clone() - .binary( - ConstantArray::new(min, arr.len()).into_array(), - Operator::Gte, - ) - .vortex_expect(""); - let lt = arr - .clone() - .binary( - ConstantArray::new(max, arr.len()).into_array(), - Operator::Lt, - ) - .vortex_expect(""); - gte.binary(lt, Operator::And) - .unwrap() - .execute::(ctx) - .unwrap() - }) - } - #[divan::bench( types = [f32, f64], args = BENCH_ARGS,