f75eb2d984
While profiling plasmashell memory usage with Vishesh we realized that most of the usage came from loading the Background image repeatedly. We traced it back to this change, where we were connecting to wallpaperChanged before initializing it, so it would initialize it again, loading the wallpaper twice. It's not that we were leaking the object, AFAIK, but loading an image using QQuickImage already raises the memory quite a bit. This change alone reduces by 15% the memory usage of my plasmashell (with 2 screens, that makes it a bit worse, because there's 2 DesktopViews then). REVIEW: 119216 |
||
---|---|---|
.. | ||
python | ||
qml | ||
ruby | ||
CMakeLists.txt |