How to know a vuex state or a component size in memory

感情迁移 提交于 2020-12-29 12:59:30

问题


Is there a way to find how much size a state (object, array, etc) or a component occupies in memory.

In my current context, I need that to know if a specific state/component is very heavy (in term of memory).

In chrome, I already tried to snapshot the memory, but I couldn't find how to identify a specific component or state in the result in such large info like this:

来源:https://stackoverflow.com/questions/55476617/how-to-know-a-vuex-state-or-a-component-size-in-memory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!