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.
How to reduce the CPU usage rate of Everything?
Re: How to reduce the CPU usage rate of Everything?
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
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