File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const MULTI_THREADED: usize = 8;
4242const CHUNK_SIZE : usize = 32 ;
4343
4444cfg_if:: cfg_if! {
45- if #[ cfg( test ) ] {
45+ if #[ cfg( not ( full_bench ) ) ] {
4646 const ELEMENTS : [ u64 ; 1 ] = [ NUM_ELEMENTS ] ;
4747 const OPERATIONS : [ u64 ; 1 ] = [ NUM_OPERATIONS ] ;
4848 } else {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const PAGE_CACHE_SIZE: usize = 10_000;
3434const THREADS : usize = 8 ;
3535
3636cfg_if:: cfg_if! {
37- if #[ cfg( test ) ] {
37+ if #[ cfg( not ( full_bench ) ) ] {
3838 const ELEMENTS : [ u64 ; 1 ] = [ NUM_ELEMENTS ] ;
3939 const OPERATIONS : [ u64 ; 1 ] = [ NUM_OPERATIONS ] ;
4040 } else {
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const PAGE_CACHE_SIZE: NonZeroUsize = NZUsize!(10_000);
3737const THREADS : usize = 8 ;
3838
3939cfg_if:: cfg_if! {
40- if #[ cfg( test ) ] {
40+ if #[ cfg( not ( full_bench ) ) ] {
4141 const ELEMENTS : [ u64 ; 1 ] = [ NUM_ELEMENTS ] ;
4242 const OPERATIONS : [ u64 ; 1 ] = [ NUM_OPERATIONS ] ;
4343 } else {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const PAGE_SIZE: NonZeroUsize = NZUsize!(16_384);
3131const PAGE_CACHE_SIZE : NonZeroUsize = NZUsize ! ( 10_000 ) ;
3232
3333cfg_if:: cfg_if! {
34- if #[ cfg( test ) ] {
34+ if #[ cfg( not ( full_bench ) ) ] {
3535 const ELEMENTS : [ u64 ; 1 ] = [ NUM_ELEMENTS ] ;
3636 const OPERATIONS : [ u64 ; 1 ] = [ NUM_OPERATIONS ] ;
3737 } else {
You can’t perform that action at this time.
0 commit comments