[Performance] Conditionally load AlarmModel and BackgroundImage to improve startup
Bug #1362140 reported by
Nekhelesh Ramananthan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
High
|
Nekhelesh Ramananthan |
Bug Description
The AlarmModel and Background image is causing the startup time to be longer (~2.658s) and also makes the start up animation laggy. By conditionally loading them by after the startup animation, we can expect a startup time decrease of 0.6s while also making the startup animations more fluid.
Related branches
lp:~nik90/ubuntu-clock-app/delay-alarm-model-startup
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Riccardo Padovani: Approve
- Ubuntu Clock Developers: Pending requested
-
Diff: 345 lines (+111/-42)13 files modifiedapp/alarm/AlarmModelComponent.qml (+25/-0)
app/alarm/AlarmPage.qml (+1/-3)
app/alarm/EditAlarmPage.qml (+1/-0)
app/clock/ClockPage.qml (+1/-1)
app/clock/MainClock.qml (+18/-0)
app/components/AnalogMode.qml (+16/-6)
app/components/Background.qml (+1/-0)
app/components/DigitalMode.qml (+32/-23)
app/ubuntu-clock-app.qml (+7/-6)
app/upstreamcomponents/PageWithBottomEdge.qml (+5/-0)
debian/changelog (+1/-0)
tests/autopilot/ubuntu_clock_app/emulators.py (+3/-2)
tests/unit/tst_alarm.qml (+0/-1)
Changed in ubuntu-clock-app: | |
assignee: | nobody → Nekhelesh Ramananthan (nik90) |
status: | Triaged → In Progress |
Changed in ubuntu-clock-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-clock-app at revision 142, scheduled for release in ubuntu-clock-app, milestone rtm