]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
nit
authorapostolos <apostolos.tapsas@vectorcamp.gr>
Tue, 14 Sep 2021 13:01:32 +0000 (16:01 +0300)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 12 Oct 2021 08:51:34 +0000 (11:51 +0300)
benchmarks/benchmarks.cpp

index 902068bd30661042592ceb7e89f32c0d7699c137..8143589176d1120d889e0cd579182fb9eaf082a2 100644 (file)
@@ -13,14 +13,12 @@ int main(){
     std::function<void(int,int,int,bool)>  functions[] = { shufti_benchmarks, rshufti_benchmarks, truffle_benchmarks, rtruffle_benchmarks };
     int sizes[] =  {  16000,  32000,  64000, 120000, 1600000, 2000000, 2500000, 3500000, 150000000, 250000000, 350000000, 500000000 };
     const char charset[] = "aAaAaAaAAAaaaaAAAAaaaaAAAAAAaaaAAaaa"; 
-    /*
     for (size_t i = 0; i < std::size(sizes); i++) {
         for(int j = 0; j < 4; j++) {
             functions[j](sizes[i], MAX_LOOPS / sizes[i], MAX_MATCHES, false);
             functions[j](sizes[i], MAX_LOOPS / sizes[i], MAX_MATCHES, true);  
         } 
     }
-    */
     for(size_t i=0; i < std::size(sizes); i++){
         //we imitate the noodle unit tests
         for (int char_len = 1; char_len < 9; char_len++) {