This repository was archived by the owner on Jul 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -876,6 +876,8 @@ fn s10_leveldb_benchmark() {
876876fn s10_memcached_benchmark_internal ( ) {
877877 setup_network ( 1 ) ;
878878
879+ let is_smoke = cfg ! ( feature = "smoke" ) ;
880+
879881 let machine = Machine :: determine ( ) ;
880882 let build = BuildArgs :: default ( )
881883 . module ( "rkapps" )
@@ -889,7 +891,7 @@ fn s10_memcached_benchmark_internal() {
889891 // Throw out everything above 28 since we have some non-deterministic
890892 // bug on larger machines that leads to threads calling sched_yield and
891893 // no readrandom is performed...
892- . filter ( |& t| t <= 28 )
894+ . filter ( |& t| if is_smoke { t <= 10 } else { t <= 128 } )
893895 . collect ( ) ;
894896
895897 // memcached arguments // currently not there.
@@ -914,7 +916,7 @@ fn s10_memcached_benchmark_internal() {
914916 println ! ( ) ;
915917
916918 for thread in threads. iter ( ) {
917- println ! ( "Running memcached internal benchmark with {thread} threads, {queries} GETs and {memsize}MB memory. " ) ;
919+ println ! ( "\n \n Running memcached internal benchmark with {thread} threads, {queries} GETs and {memsize}MB memory. " ) ;
918920
919921 let kernel_cmdline = format ! (
920922 r#"init=memcachedbench.bin initargs={} appcmd='--x-benchmark-mem={} --x-benchmark-queries={}'"# ,
You can’t perform that action at this time.
0 commit comments