How to speed up by avoiding flushCallbacks() #11843
Unanswered
RichardKaufmannOG
asked this question in
Help/Questions
Replies: 1 comment
-
Does this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
in my application I have an async function call to a backend api to load around 12000 data entries.
This happens in around 500ms. All this is encapsulated in an
async
await
call.After or during the async function returns the application hangs for around 7 seconds. With the help of profiling I discovered that the call to
flushCallbacks()
consumes 6 seconds. For what purpose isflushCallbacks()
needed and who can I rewrite my application to speed this up by avoiding calls to this slow function?I am using Vue 2.6.14
Beta Was this translation helpful? Give feedback.
All reactions