How to reduce the CPU usage rate of Everything?

Plug-in and third party software discussion.
Post Reply
qianw
Posts: 20
Joined: Fri Aug 09, 2019 2:29 am

How to reduce the CPU usage rate of Everything?

Post by qianw »

I was a bit confused about the CPU usage rate of Everything.
When I call EverythingSDK to query repeatedly, the Everything Client's CPU usage rate is up to 50%.
I'm not sure what caused it.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to reduce the CPU usage rate of Everything?

Post by void »

The Everything Client performs the search query.

Are you sending multiple queries at the same time via IPC?

Sending a new query with the SDK should cancel the current one (if it exists).

Are you sorting by a type that does not have fast sorting enabled? eg: Date created?

Can you give an example of the search queries?

Please try reducing the number of results returned by specifying a result offset and maximum result count in the SDK.

Please try using count:x in your search query to limit the number of results.
For example: count:100 foo bar
Note: that this can make the query much slower as it will only execute on one thread.

To reduce the number of threads Everything uses to perform a search query:
In Everything, type in the following search and press ENTER:
/threads=1

To use all available threads when performing a search query (the default)
In Everything, type in the following search and press ENTER:
/threads=0
Post Reply