Tagged Questions
5
votes
2answers
823 views
How to time grep commands accurately?
I want to compare the speed of these two commands:
grep pattern1 files*
grep pattern2 files*
Unfortunately, the first grep reads much of files* into memory
buffers, so the second grep runs ...