Vue-devtools: Decrease app render performance after version update

Created on 1 Jun 2017  路  4Comments  路  Source: vuejs/vue-devtools

Hello, guys.

I`m working on some complex web-app built on vue+vuex

And today i`ve noticed that my app begin work much slower than before - with no relevent reason,

i`ve did some research and found out that if i disable action recording on vuex tab - everything work as expected.
And i saw that my dev-tool extension was updated yestarday.

Why is this happen?

enhancement

Most helpful comment

+1, I'm doing a three.js bindings for vue, my components props mutate very frequently (requestAnimationFrame). When I open the vue-devtools, app's performance gets much worse.

All 4 comments

I noticed the same problem without vuex.
I have a complex datatable that deals with a lot of data and when I set a sorting column, I noticed I had a small time of freeze on the browser tab.
When I put the debugger; instruction at the end of the code, I saw many function calls that deal with vue-devtools.

I then uninstalled vue-devtools and everything were fine.

+1, I'm doing a three.js bindings for vue, my components props mutate very frequently (requestAnimationFrame). When I open the vue-devtools, app's performance gets much worse.

Enabling Vuex mutation recording makes the devtool to save snapshots of the entire Vuex state each time a mutation is committed. Also, fetching the App components tree and component states will naturally incur some overhead. I'm not saying we can't improve performance though. :smile:

Let's continue in #649

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trollderius picture trollderius  路  3Comments

mikaelhadler picture mikaelhadler  路  3Comments

ispal picture ispal  路  4Comments

mitramejia picture mitramejia  路  3Comments

jonathantizard picture jonathantizard  路  4Comments