ubuntu-touch-coreapps-reviewers team mailing list archive
-
ubuntu-touch-coreapps-reviewers team
-
Mailing list archive
-
Message #04761
[Merge] lp:~gang65/music-app/music-app-reduce-png-size into lp:music-app
The proposal to merge lp:~gang65/music-app/music-app-reduce-png-size into lp:music-app has been updated.
Description changed to:
Reduce size of png images (with tinypng.com) to decrease click size and improve performance
The size of graphics directory was decreased from 200kB to 36kB.
I checked how reduce PNG size impacts performace with QML Profiler.
For ClockCircle.qml with optimized png files and without.
Not optimized PNG files:
QtQuick/Loader Background: 2.554ms
QtQuick/Image Inner Clock: 4.921ms
Optimized PNG files:
QtQuick/Loader Background: 1,246ms
QtQuick/Image Inner Clock: 2.347ms
I repeated tests several times, and the results are similar.
Benefits:
1. Smaller Click package
2. Improve performance
For more details, see:
https://code.launchpad.net/~gang65/music-app/music-app-reduce-png-size/+merge/270230
--
Your team Music App Developers is subscribed to branch lp:music-app.
References