Page 1 of 1

[Solved] Querying CPU load

Posted: Thu Sep 10, 2020 10:51 am
by w64bit
When I am searching with 992 Lite for *\*FOLDER*\*file* in 500k files + 100k folders the querying is taking 12-14 s and the CPU utilization is close to 100% for 8 cores CPU + 2 SSD.
This don't bother me but it's good to know if the CPU load it's normal for such a task (or it's a program issue).
Thank you

Re: Querying CPU load

Posted: Thu Sep 10, 2020 11:00 am
by void
The high CPU usage is normal for a recursive wildcard query. The more *s the slower the search will be..

Please try the following searches:

path:FOLDER file *\*FOLDER*\*file*

The FOLDER file search will eliminate most unwanted results so the wildcard search does not have to be performed on every single filename.

You don't need to search for *file* again, since file on it's own does the same thing.
The following search would be faster again:

path:FOLDER file *\*FOLDER*\*

You could omit the first \ since folder would most likely not match a root:

path:FOLDER file *FOLDER*\*

You could also omit the path:FOLDER search as the file search should reduce the number of results, leaving the following search:

file *FOLDER*\*

Regex might be slightly faster than *\*FOLDER*\*file*, and would also give more control over what * matches:


Re: Querying CPU load

Posted: Thu Sep 10, 2020 11:09 am
by w64bit
Thank you very much for the clarification. It helps me a lot.
Anyway, I found with this occasion that Everything has an excellent multicore utilization on such a small exe footprint.
I propose a new Nobel Prize. For Programming :)