vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.68k stars 4.14k forks source link

Performance issues #1078

Closed xereda closed 5 years ago

xereda commented 5 years ago

Version

5.1.1

Browser and OS info

Chrome 76 / Arch Linux

Steps to reproduce

Access an application with many stores.

What is expected?

I want the performance to be better and not to crash the first time I open the extension.

What is actually happening?

Vue dev tools breaks the first time I open the extension and performance is slow.


I did some animated gif simulations to help with debugging.

Setup:

deepin-screen-recorder_Select area_20191004090852

What happens the first time?

deepin-screen-recorder_google-chrome_20191004093832

To solve this problem I refresh the browser. That way, the error no longer happens and I can have the state updated. It is still extremely slow, but it works.

deepin-screen-recorder_google-chrome_20191004093345

xereda commented 5 years ago

One question: Why didn't we have these issues in the previous version of the extension? The performance was quite satisfactory, even in big stores.

xereda commented 5 years ago

Did you leave the vue devtools?

yyx990803 commented 5 years ago

It's not about "leaving" - there are many things going on and we have priorities.

Ping @Akryum since he worked on the 5.0 release and should have the most context.

mdartic commented 5 years ago

@xereda do you have your code available in a repo for testing purpose ?

xereda commented 5 years ago

@yyx990803 I understand that. No problems. It was an excellent tool for the daily life of the programmer.

@mdartic I do not have the project in an open repository. Unfortunately. I can try to simulate in other ways.

mdartic commented 5 years ago

I think it would be great, I encouter some problems too, but I can use it anyway. You seem to encounter an error, so to reproduce it's better to have a codebase available ?

Akryum commented 5 years ago

@xereda Would it be possible for you to give me access to your project privately via email?

Akryum commented 5 years ago

Also, seems to be a duplicate of #997

xereda commented 5 years ago

Hi @Akryum

I can try to share the project of the module in question. The problem is that you will not be able to run the environment as it will depend on the backend to simulate. We don't have mock server.

Akryum commented 5 years ago

Maybe we can do it with https://ngrok.com/