@@ -794,6 +794,7 @@ fn compare_outputs(function_name: &str, expected: &[f32], actual: &[f32], expect
794794// Benchmarks
795795////////////////////////////////////////////////////////////////////////////////////////////////////
796796
797+ #[ cfg( not( codspeed) ) ]
797798#[ divan:: bench( consts = BENCHMARK_SIZES , sample_size = SAMPLE_SIZE ) ]
798799fn batch < const SIZE : usize > ( bencher : Bencher ) {
799800 let ( input_data, mut buffers) = setup ( SIZE ) ;
@@ -813,6 +814,7 @@ fn batch<const SIZE: usize>(bencher: Bencher) {
813814 } ) ;
814815}
815816
817+ #[ cfg( not( codspeed) ) ]
816818#[ divan:: bench( consts = BENCHMARK_SIZES , sample_size = SAMPLE_SIZE ) ]
817819fn pipeline < const SIZE : usize > ( bencher : Bencher ) {
818820 let ( input_data, mut buffers) = setup ( SIZE ) ;
@@ -831,6 +833,7 @@ fn pipeline<const SIZE: usize>(bencher: Bencher) {
831833 } ) ;
832834}
833835
836+ #[ cfg( not( codspeed) ) ]
834837#[ divan:: bench( consts = BENCHMARK_SIZES , sample_size = SAMPLE_SIZE ) ]
835838fn pipeline_extra_copy < const SIZE : usize > ( bencher : Bencher ) {
836839 let ( input_data, mut buffers) = setup ( SIZE ) ;
@@ -850,6 +853,7 @@ fn pipeline_extra_copy<const SIZE: usize>(bencher: Bencher) {
850853 } ) ;
851854}
852855
856+ #[ cfg( not( codspeed) ) ]
853857#[ divan:: bench( consts = BENCHMARK_SIZES , sample_size = SAMPLE_SIZE ) ]
854858fn in_place_batch < const SIZE : usize > ( bencher : Bencher ) {
855859 let ( input_data, mut buffers) = setup ( SIZE ) ;
@@ -866,6 +870,7 @@ fn in_place_batch<const SIZE: usize>(bencher: Bencher) {
866870 } ) ;
867871}
868872
873+ #[ cfg( not( codspeed) ) ]
869874#[ divan:: bench( consts = BENCHMARK_SIZES , sample_size = SAMPLE_SIZE ) ]
870875fn in_place_pipeline < const SIZE : usize > ( bencher : Bencher ) {
871876 let ( input_data, mut buffers) = setup ( SIZE ) ;
@@ -887,6 +892,7 @@ fn in_place_pipeline<const SIZE: usize>(bencher: Bencher) {
887892// These benchmarks verify that all decompression strategies produce identical
888893// and correct results. They run with smaller sizes for quick verification.
889894
895+ #[ cfg( not( codspeed) ) ]
890896#[ divan:: bench( consts = VERIFICATION_SIZES ) ]
891897fn verify_all_methods < const SIZE : usize > ( bencher : Bencher ) {
892898 bencher
0 commit comments