Fuzzy search consumes over 65% of CPU #1754
Replies: 4 comments 2 replies
-
|
Interesting. How many docsets do you have installed? I just tested it on my weak laptop and couldn't get the CPU utilization go over 18%. |
Beta Was this translation helpful? Give feedback.
-
|
Currently I have 29, but in the past I have had even more 😄 |
Beta Was this translation helpful? Give feedback.
-
|
Look at this...
Zeal is just open in idle mode:
Don't you think so much memory is over-consumed? |
Beta Was this translation helpful? Give feedback.
-
|
I think I have a hypothesis what might cause the sudden CPU spike... With fuzzy search enabled, it seems like when you search globally, not based on a docset inner search, it finds the data you are looking for and tries to start the web server to load the content which it causes a sudden CPU jump out of the blue until it completes the inner page rendering; it takes a few milliseconds, but the behavior is very obvious to say the least. Now here's the interesting part: when you disable fuzzy search and you repeat the same process as before, the results are instant without CPU spike at all; in reality, the CPU remains the same, no more than ~5% at most! |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I have tried both searches, with and without fuzzy search; with fuzzy search it consumes over 65% and delays to print out the results, whereas without it, it consumes up to 12% at most and outputs the results immediately.
Beta Was this translation helpful? Give feedback.
All reactions