Search Results

Search: Posts Made By: Scrutinizer
22,746
Posted By Scrutinizer
The input file matters
With an input file, similar to your Moby Dick and not directly related to the problem at hand in this thread (and with which there were no matches) I also get a factor 5 difference between gawk and...
22,746
Posted By Scrutinizer
Still quite a discrepancy, because I get a factor...
Still quite a discrepancy, because I get a factor 5 - 5.5 . Maybe you have a strange compile or could there be a caching effect with the others?

I just ran the tests also on OSX with

code ...
22,746
Posted By Scrutinizer
Strange, are you sure the mawk numbers are...
Strange, are you sure the mawk numbers are correct? They should not be anywhere near the gawk numbers. I ran these tests on another 100 MB file
cgrep -a '\| REQUEST \|.*\n.*\| RESPONSE \|' infile...
22,746
Posted By Scrutinizer
@drl, grep cannot do this and I do not think...
@drl, grep cannot do this and I do not think cgrep is present on Solaris, is it? cgrep looks nice though and it is fast indeed. I presume cgrep was tested against gawk, which is one of the slowest...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy