Android-Resource-Usage-Count
Android-Resource-Usage-Count copied to clipboard
CPU goes nuts with 2 instances of AS
I just opened a second instance of AS to have a better comparison between two states of the same project and I realized that the cpu usage goes nuts. I even restarted AS and just opened the project once but it continued. Only thing that solved it was disabling your plugin.
See my CPU usage here. The drop to lower CPU usage was when I disabled the plugin and restarted AS.
Sorry i don't see this problem in my mac, but i think the reason is this plugin will search for each element's usage automatic when you open resource file. However, in AS, Finding Usage is a heavy action and it may consume too much CPU. Maybe it will only occur after AS 3.0.
I am planing to change find all usage
to a manual Action than an automatic Action, when user trigger this action, It will run a background task to search and show.
I had finish the job of search, but i didn't found suitable Api to show the result. If you have any idea, please tell me. Thanks.