qualiu@mypc /cygdrive/d/opengit/msr
$ perf/batch-compare-performance.sh /cygdrive/d/tmp/large-error.log
# Case-1: Both found
2017-07-22 16:15:51 : Plain text finding: Exception : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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 3.263514 s, from 2017-07-22 16:15:52.165282 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : Exception
Matched 1032 lines from stdin, read 1032 lines. Used 2.015585 s, from 2017-07-22 16:15:55.566400 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : Exception
Matched 1032 lines from stdin, read 1032 lines. Used 2.477975 s, from 2017-07-22 16:15:57.735396 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : Exception
2017-07-22 16:16:00 : Plain ignore case: Exception : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.929018 s, from 2017-07-22 16:16:00.530183 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : Exception
Matched 1032 lines from stdin, read 1032 lines. Used 2.513005 s, from 2017-07-22 16:16:06.600526 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : Exception
Matched 1032 lines from stdin, read 1032 lines. Used 3.976315 s, from 2017-07-22 16:16:09.227022 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : Exception
2017-07-22 16:16:13 : Regex text finding: Error.*found : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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 76.522204 s, from 2017-07-22 16:16:13.581199 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : 'Error.*found'
Matched 143 lines from stdin, read 143 lines. Used 2.705246 s, from 2017-07-22 16:17:30.292894 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : 'Error.*found'
Matched 143 lines from stdin, read 143 lines. Used 5.005073 s, from 2017-07-22 16:17:33.107483 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : 'Error.*found'
2017-07-22 16:17:38 : Regex ignore case: Error.*found : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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 106.620750 s, from 2017-07-22 16:17:38.488572 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : 'Error.*found'
Matched 143 lines from stdin, read 143 lines. Used 2.698815 s, from 2017-07-22 16:19:25.321803 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : 'Error.*found'
Matched 143 lines from stdin, read 143 lines. Used 10.678455 s, from 2017-07-22 16:19:28.124972 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : 'Error.*found'
# Case-2: Both found, simpler regex
2017-07-22 16:19:42 : Plain text finding: Exception : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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 3.153498 s, from 2017-07-22 16:19:42.860367 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : Exception
Matched 1032 lines from stdin, read 1032 lines. Used 1.826783 s, from 2017-07-22 16:19:46.174739 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : Exception
Matched 1032 lines from stdin, read 1032 lines. Used 2.502860 s, from 2017-07-22 16:19:48.108864 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : Exception
2017-07-22 16:19:50 : Plain ignore case: Exception : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.566144 s, from 2017-07-22 16:19:50.941477 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : Exception
Matched 1032 lines from stdin, read 1032 lines. Used 2.456465 s, from 2017-07-22 16:19:56.671015 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : Exception
Matched 1032 lines from stdin, read 1032 lines. Used 3.992548 s, from 2017-07-22 16:19:59.231669 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : Exception
2017-07-22 16:20:03 : Regex text finding: [0-9]*Exception[0-9]* : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.495552 s, from 2017-07-22 16:20:03.584933 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : '[0-9]*Exception[0-9]*'
Matched 1032 lines from stdin, read 1032 lines. Used 1.916003 s, from 2017-07-22 16:20:10.232334 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : '[0-9]*Exception[0-9]*'
Matched 1032 lines from stdin, read 1032 lines. Used 11.401047 s, from 2017-07-22 16:20:12.259065 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : '[0-9]*Exception[0-9]*'
2017-07-22 16:20:23 : Regex ignore case: [0-9]*Exception[0-9]* : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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 32.770040 s, from 2017-07-22 16:20:24.044137 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : '[0-9]*Exception[0-9]*'
Matched 1032 lines from stdin, read 1032 lines. Used 2.413664 s, from 2017-07-22 16:20:56.966710 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : '[0-9]*Exception[0-9]*'
Matched 1032 lines from stdin, read 1032 lines. Used 20.481966 s, from 2017-07-22 16:20:59.503760 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : '[0-9]*Exception[0-9]*'
# Case-3: Not found, partial matched both
2017-07-22 16:21:23 : Plain text finding: ExceptionX : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.265509 s, from 2017-07-22 16:21:24.112526 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : ExceptionX
Matched 0 lines from stdin, read 0 lines. Used 0.524570 s, from 2017-07-22 16:21:26.524668 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : ExceptionX
Matched 0 lines from stdin, read 0 lines. Used 1.657503 s, from 2017-07-22 16:21:27.201099 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : ExceptionX
2017-07-22 16:21:28 : Plain ignore case: ExceptionX : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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 6.990177 s, from 2017-07-22 16:21:29.175740 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : ExceptionX
Matched 0 lines from stdin, read 0 lines. Used 1.679525 s, from 2017-07-22 16:21:36.336956 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : ExceptionX
Matched 0 lines from stdin, read 0 lines. Used 3.463701 s, from 2017-07-22 16:21:38.131516 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : ExceptionX
2017-07-22 16:21:41 : Regex text finding: [0-9]*ExceptionX[0-9]* : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.076763 s, from 2017-07-22 16:21:41.994164 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : '[0-9]*ExceptionX[0-9]*'
Matched 0 lines from stdin, read 0 lines. Used 0.532172 s, from 2017-07-22 16:21:48.225890 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : '[0-9]*ExceptionX[0-9]*'
Matched 0 lines from stdin, read 0 lines. Used 11.053756 s, from 2017-07-22 16:21:48.873971 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : '[0-9]*ExceptionX[0-9]*'
2017-07-22 16:22:00 : Regex ignore case: [0-9]*ExceptionX[0-9]* : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.658297 s, from 2017-07-22 16:22:00.335752 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : '[0-9]*ExceptionX[0-9]*'
Matched 0 lines from stdin, read 0 lines. Used 1.707667 s, from 2017-07-22 16:22:34.164232 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : '[0-9]*ExceptionX[0-9]*'
Matched 0 lines from stdin, read 0 lines. Used 21.522505 s, from 2017-07-22 16:22:35.997755 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : '[0-9]*ExceptionX[0-9]*'
# Case-4: Not found, not matched
2017-07-22 16:23:01 : Plain text finding: Not-Exist : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.601489 s, from 2017-07-22 16:23:02.054206 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : Not-Exist
Matched 0 lines from stdin, read 0 lines. Used 1.036336 s, from 2017-07-22 16:23:04.877484 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : Not-Exist
Matched 0 lines from stdin, read 0 lines. Used 1.739448 s, from 2017-07-22 16:23:06.019310 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : Not-Exist
2017-07-22 16:23:07 : Plain ignore case: Not-Exist : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.488951 s, from 2017-07-22 16:23:08.102195 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : Not-Exist
Matched 0 lines from stdin, read 0 lines. Used 1.463267 s, from 2017-07-22 16:23:10.759514 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : Not-Exist
Matched 0 lines from stdin, read 0 lines. Used 3.255237 s, from 2017-07-22 16:23:12.339497 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : Not-Exist
2017-07-22 16:23:15 : Regex text finding: Not-exist.* : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.048929 s, from 2017-07-22 16:23:16.132026 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : 'Not-exist.*'
Matched 0 lines from stdin, read 0 lines. Used 1.176069 s, from 2017-07-22 16:23:19.316799 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : 'Not-exist.*'
Matched 0 lines from stdin, read 0 lines. Used 3.918459 s, from 2017-07-22 16:23:20.611398 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : 'Not-exist.*'
2017-07-22 16:23:24 : Regex ignore case: Not-exist.* : CYGWIN_NT-10.0 2.6.0(0.304/5/3) x86_64 Cygwin + 32 GB RAM + 4 Cores Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
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.719982 s, from 2017-07-22 16:23:24.889334 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read findstr : 'Not-exist.*'
Matched 0 lines from stdin, read 0 lines. Used 1.407074 s, from 2017-07-22 16:23:38.800719 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read grep : 'Not-exist.*'
Matched 0 lines from stdin, read 0 lines. Used 5.373773 s, from 2017-07-22 16:23:40.327102 CST. Directory = /cygdrive/D/tmp , Command = msr -l -c Read msr : 'Not-exist.*'
qualiu@mypc /cygdrive/d/opengit/msr
$