-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
performance/optimizations #5
Comments
do we have any way to measure profile performance? |
Not at the moment but am open for any thoughts/suggestions on how we can do this. |
Okay then I'll take a look into this. Also I noticed that it lags when typing is that intentional? |
Yeah, noticed that lag also. |
I believe I had debounced the query function for a few milliseconds a while back. I'm open for any suggestions on perf. |
I guess the first step is to figure out some way to quantitatively profile performance. I'm still trying to figure out how the build process works, for example what is the purpose of webpack? The app seems to run a lot faster and without type lag when just doing Also I might just be making things up in my confusion so let me know if all of this is just circumstantial |
(Note: The Also, there's a 500ms debounce (here) for handling multiple queries. We can definitely lower to something more appropriate. Are you running in dev or the build? |
Is the debounce for the query being processed, or typing into the bar itself? Because the lag isn't for the query but rather when typing.
Not too sure, I'm just running |
The denounce is to query. We may want to move that higher to the renderer so it doesn't hit the IPC calls. |
Oh I see, I'm still not sure however why just running |
Maybe this was just fixed since November, but I don't notice any lag at all when I'm using |
TBD.
The text was updated successfully, but these errors were encountered: