Sometimes the app eats an entire CPU #17388
Unanswered
ivanjaros
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I guess this is most likely a Vue issue or JS issue and not Quasar specifically, but since I am using Quasar exclusively, I seek help here rather than on random forums.
I am observing that sometimes my app eats up an entire CPU after some action, and since JS is single-threaded event-loop based language, it is easily recognizable that something is off. All I need to do is to restart browser or reload page but the thing is that this is happening often enough that I am just not OK with it. It might be just development issue/behavior not found in production(current project is not in production so I cannot compare). Either way, I'd like to be able to find out what the heck is going on. I suspect Vue's reactor loop/tick spins up into infinite reaction pattern or something like that, I cannot imagine anything else.
So my question is, how I can figure out what is causing it - while it is happening? It's not possible to predict it, so I need to be able to figure it out/debug during the time it happens. Is there a way or some tools to do it?
Beta Was this translation helpful? Give feedback.
All reactions