qualiu@mypc C:\Users\qualiu
> d:\opengit\msr\perf\batch-compare-performance.bat d:\tmp\large-error.log
:: Case-1: Both found
Sat 07/22/2017 15:56:22.97 : Plain text finding : Exception : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                            
Test file info : 3332543 lines 1.39 GB : Plain text finding by findstr / grep / msr ; To find = Exception
Matched 1032 lines from stdin, read 1032 lines. Used 2.327939 s, from 2017-07-22 15:56:23.149228 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : Exception   
Matched 1032 lines from stdin, read 1032 lines. Used 1.270217 s, from 2017-07-22 15:56:25.555304 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : Exception      
Matched 1032 lines from stdin, read 1032 lines. Used 2.991197 s, from 2017-07-22 15:56:26.925811 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : Exception       

Sat 07/22/2017 15:56:29.96 : Plain ignore case : Exception : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                             
Test file info : 3332543 lines 1.39 GB : Plain ignore case by findstr / grep / msr ; To find = Exception
Matched 1032 lines from stdin, read 1032 lines. Used 5.063410 s, from 2017-07-22 15:56:30.133146 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : Exception   
Matched 1032 lines from stdin, read 1032 lines. Used 1.333798 s, from 2017-07-22 15:56:35.311998 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : Exception      
Matched 1032 lines from stdin, read 1032 lines. Used 4.961450 s, from 2017-07-22 15:56:36.761272 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : Exception       

Sat 07/22/2017 15:56:41.73 : Regex text finding : "Error.*found" : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                       
Test file info : 3332543 lines 1.39 GB : Regex text finding by findstr / grep / msr ; To find = "Error.*found"
Matched 143 lines from stdin, read 143 lines. Used 74.842442 s, from 2017-07-22 15:56:41.938925 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : "Error.*found
"
Matched 143 lines from stdin, read 143 lines. Used 2.552450 s, from 2017-07-22 15:57:56.881632 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : "Error.*found"   
Matched 143 lines from stdin, read 143 lines. Used 6.701958 s, from 2017-07-22 15:57:59.534348 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : "Error.*found"    

Sat 07/22/2017 15:58:06.25 : Regex ignore case : "Error.*found" : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                        
Test file info : 3332543 lines 1.39 GB : Regex ignore case by findstr / grep / msr ; To find = "Error.*found"
Matched 143 lines from stdin, read 143 lines. Used 103.251493 s, from 2017-07-22 15:58:06.436556 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : "Error.*foun
d"
Matched 143 lines from stdin, read 143 lines. Used 67.052338 s, from 2017-07-22 15:59:49.788350 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : "Error.*found"  
Matched 143 lines from stdin, read 143 lines. Used 8.652030 s, from 2017-07-22 16:00:56.972231 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : "Error.*found"    

:: Case-2: Both found, simpler regex
Sat 07/22/2017 16:01:09.00 : Plain text finding : Exception : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                            
Test file info : 3332543 lines 1.39 GB : Plain text finding by findstr / grep / msr ; To find = Exception
Matched 1032 lines from stdin, read 1032 lines. Used 2.288329 s, from 2017-07-22 16:01:09.132330 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : Exception   
Matched 1032 lines from stdin, read 1032 lines. Used 1.234060 s, from 2017-07-22 16:01:11.520838 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : Exception      
Matched 1032 lines from stdin, read 1032 lines. Used 2.790399 s, from 2017-07-22 16:01:12.855147 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : Exception       

Sat 07/22/2017 16:01:15.68 : Plain ignore case : Exception : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                             
Test file info : 3332543 lines 1.39 GB : Plain ignore case by findstr / grep / msr ; To find = Exception
Matched 1032 lines from stdin, read 1032 lines. Used 5.343101 s, from 2017-07-22 16:01:15.848903 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : Exception   
Matched 1032 lines from stdin, read 1032 lines. Used 1.203617 s, from 2017-07-22 16:01:21.323690 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : Exception      
Matched 1032 lines from stdin, read 1032 lines. Used 5.222421 s, from 2017-07-22 16:01:22.627551 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : Exception       

Sat 07/22/2017 16:01:27.88 : Regex text finding : "[0-9]*Exception[0-9]*" : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM              
Test file info : 3332543 lines 1.39 GB : Regex text finding by findstr / grep / msr ; To find = "[0-9]*Exception[0-9]*"
Matched 1032 lines from stdin, read 1032 lines. Used 6.152977 s, from 2017-07-22 16:01:28.087794 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : "[0-9]*Excep
tion[0-9]*"
Matched 1032 lines from stdin, read 1032 lines. Used 1.286410 s, from 2017-07-22 16:01:34.387766 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : "[0-9]*Exceptio
n[0-9]*"
Matched 1032 lines from stdin, read 1032 lines. Used 10.801145 s, from 2017-07-22 16:01:35.805698 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : "[0-9]*Exceptio
n[0-9]*"

Sat 07/22/2017 16:01:46.62 : Regex ignore case : "[0-9]*Exception[0-9]*" : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM               
Test file info : 3332543 lines 1.39 GB : Regex ignore case by findstr / grep / msr ; To find = "[0-9]*Exception[0-9]*"
Matched 1032 lines from stdin, read 1032 lines. Used 30.966192 s, from 2017-07-22 16:01:46.865235 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : "[0-9]*Exce
ption[0-9]*"
Matched 1032 lines from stdin, read 1032 lines. Used 1.481175 s, from 2017-07-22 16:02:17.931731 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : "[0-9]*Exceptio
n[0-9]*"
Matched 1032 lines from stdin, read 1032 lines. Used 14.136975 s, from 2017-07-22 16:02:19.508447 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : "[0-9]*Exceptio
n[0-9]*"

:: Case-3: Not found, partial matched both
Sat 07/22/2017 16:02:37.18 : Plain text finding : ExceptionX : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                           
Test file info : 3332543 lines 1.39 GB : Plain text finding by findstr / grep / msr ; To find = ExceptionX
Matched 0 lines from stdin, read 0 lines. Used 2.305688 s, from 2017-07-22 16:02:37.334856 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : ExceptionX        
Matched 0 lines from stdin, read 0 lines. Used 0.685787 s, from 2017-07-22 16:02:39.740799 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : ExceptionX           
Matched 0 lines from stdin, read 0 lines. Used 2.821859 s, from 2017-07-22 16:02:40.579728 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : ExceptionX            

Sat 07/22/2017 16:02:43.43 : Plain ignore case : ExceptionX : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                            
Test file info : 3332543 lines 1.39 GB : Plain ignore case by findstr / grep / msr ; To find = ExceptionX
Matched 0 lines from stdin, read 0 lines. Used 7.191909 s, from 2017-07-22 16:02:43.586353 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : ExceptionX        
Matched 0 lines from stdin, read 0 lines. Used 1.256824 s, from 2017-07-22 16:02:50.878444 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : ExceptionX           
Matched 0 lines from stdin, read 0 lines. Used 4.994068 s, from 2017-07-22 16:02:52.235544 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : ExceptionX            

Sat 07/22/2017 16:02:57.26 : Regex text finding : "[0-9]*ExceptionX[0-9]*" : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM             
Test file info : 3332543 lines 1.39 GB : Regex text finding by findstr / grep / msr ; To find = "[0-9]*ExceptionX[0-9]*"
Matched 0 lines from stdin, read 0 lines. Used 6.014806 s, from 2017-07-22 16:02:57.414524 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : "[0-9]*ExceptionX[
0-9]*"
Matched 0 lines from stdin, read 0 lines. Used 0.679103 s, from 2017-07-22 16:03:03.529470 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : "[0-9]*ExceptionX[0-9
]*"
Matched 0 lines from stdin, read 0 lines. Used 10.691172 s, from 2017-07-22 16:03:04.308838 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : "[0-9]*ExceptionX[0-9
]*"

Sat 07/22/2017 16:03:15.01 : Regex ignore case : "[0-9]*ExceptionX[0-9]*" : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM              
Test file info : 3332543 lines 1.39 GB : Regex ignore case by findstr / grep / msr ; To find = "[0-9]*ExceptionX[0-9]*"
Matched 0 lines from stdin, read 0 lines. Used 33.652922 s, from 2017-07-22 16:03:15.200305 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : "[0-9]*ExceptionX
[0-9]*"
Matched 0 lines from stdin, read 0 lines. Used 1.301380 s, from 2017-07-22 16:03:48.953512 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : "[0-9]*ExceptionX[0-9
]*"
Matched 0 lines from stdin, read 0 lines. Used 14.224892 s, from 2017-07-22 16:03:50.355011 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : "[0-9]*ExceptionX[0-9
]*"

:: Case-4: Not found, not matched
Sat 07/22/2017 16:04:08.00 : Plain text finding : Not-Exist : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                            
Test file info : 3332543 lines 1.39 GB : Plain text finding by findstr / grep / msr ; To find = Not-Exist
Matched 0 lines from stdin, read 0 lines. Used 2.420310 s, from 2017-07-22 16:04:08.138921 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : Not-Exist         
Matched 0 lines from stdin, read 0 lines. Used 1.239427 s, from 2017-07-22 16:04:10.690748 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : Not-Exist            
Matched 0 lines from stdin, read 0 lines. Used 2.722073 s, from 2017-07-22 16:04:12.030438 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : Not-Exist             

Sat 07/22/2017 16:04:14.78 : Plain ignore case : Not-Exist : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                             
Test file info : 3332543 lines 1.39 GB : Plain ignore case by findstr / grep / msr ; To find = Not-Exist
Matched 0 lines from stdin, read 0 lines. Used 2.335095 s, from 2017-07-22 16:04:14.937439 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : Not-Exist         
Matched 0 lines from stdin, read 0 lines. Used 1.456649 s, from 2017-07-22 16:04:17.372316 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : Not-Exist            
Matched 0 lines from stdin, read 0 lines. Used 4.926571 s, from 2017-07-22 16:04:18.929228 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : Not-Exist             

Sat 07/22/2017 16:04:23.88 : Regex text finding : "Not-exist.*" : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                        
Test file info : 3332543 lines 1.39 GB : Regex text finding by findstr / grep / msr ; To find = "Not-exist.*"
Matched 0 lines from stdin, read 0 lines. Used 3.020769 s, from 2017-07-22 16:04:24.055951 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : "Not-exist.*"     
Matched 0 lines from stdin, read 0 lines. Used 1.444702 s, from 2017-07-22 16:04:27.161349 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : "Not-exist.*"        
Matched 0 lines from stdin, read 0 lines. Used 5.864804 s, from 2017-07-22 16:04:28.711554 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : "Not-exist.*"         

Sat 07/22/2017 16:04:34.60 : Regex ignore case : "Not-exist.*" : Microsoft Windows 10 Enterprise 64-bit + Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz 4 Cores + 32 GB RAM                         
Test file info : 3332543 lines 1.39 GB : Regex ignore case by findstr / grep / msr ; To find = "Not-exist.*"
Matched 0 lines from stdin, read 0 lines. Used 13.233139 s, from 2017-07-22 16:04:34.802611 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read findstr : "Not-exist.*"    
Matched 0 lines from stdin, read 0 lines. Used 1.315286 s, from 2017-07-22 16:04:48.151640 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read grep : "Not-exist.*"        
Matched 0 lines from stdin, read 0 lines. Used 6.714761 s, from 2017-07-22 16:04:49.551581 CST - China Standard Time. Directory = d:\tmp , Command = msr -l -c Read msr : "Not-exist.*"         


qualiu@mypc C:\Users\qualiu
>