Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Extremely laggy #12

Open
advilm opened this issue Jun 21, 2023 · 4 comments
Open

Extremely laggy #12

advilm opened this issue Jun 21, 2023 · 4 comments

Comments

@advilm
Copy link

advilm commented Jun 21, 2023

I wanted to try using this plugin but it is lagging a lot (like 3-5 seconds after every keypress).

I thought it might be somehow conflicting with one of the other plugins I had, but the issue still occurred with a minimal config.

I gave my minimal config to a friend and this project ran fine for them. Any idea how I would go about finding the issue and fixing it?

Thank you

@Dhanus3133
Copy link
Owner

Dhanus3133 commented Jul 4, 2023

Can you give me some more information of where it is lagging and what you had tried to do. (It can be abit laggy only when you test or submit the code for like some seconds)

@advilm
Copy link
Author

advilm commented Jul 10, 2023

It seems to be lagging everywhere. Here's a video of how it lags when showing questions:

2023-07-10_14-58-40.mp4

@Dhanus3133
Copy link
Owner

The lag is because of the delay in response for the API request happening in the background to Leetcode API. I am unsure for the reasons behind it. Tried switching the network?

@orhnk
Copy link

orhnk commented Aug 31, 2023

The lag is because of the delay in response for the API request happening in the background to Leetcode API. I am unsure for the reasons behind it. Tried switching the network?

I do face the same issue.

Nevertheless That is a plugin issue. It needs performance optimizations (e.g cacheing would be very nice)

Lag DEMO:

demo-2023-08-31_06.42.28.mp4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants