Skip to content

gkislin/DirectorySearcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search in directories tree

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.

About

Search in directories tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages