Stand-alone Java application
java test.search.test.search.Main <threads number> <search string> <search directory>
e.g. java test.search.test.search.Main 16 ".IOException" "/usr/local/httpd/logs"
- Search for a <search string> in the files under specific <search directory>.
- Process files within <threads number> worker threads.
- Print found entries [file absolute path, absolute position of string in file] into standard output immediately after finding.
- Print overall statistics at the end of process
Test results (warming up and GC phases excluded).
Test performed at 4 processors computer. Above 4 threads there no any performance advantage.