mozilla-mobile / perf-frontend-issues

A repository to hold issues related to front-end mobile application performance.
4 stars 0 forks source link

Gather baseline perf tests for Focus #211

Closed mcomella closed 2 years ago

mcomella commented 3 years ago

For Focus v8.16.0, run baseline performance tests:

mcomella commented 3 years ago

I took some preliminary start up measurements with a WIP progress version of the measure_start_up.py script. Here's what I noticed:

Next action items are to get this reviewed and add the logcat markers we use for nav start back into the new versions of focus for a proper comparison of nav start.

mcomella commented 3 years ago

By comparison to v8.17.1 of focus to Nightly 2021-07-15 91.0a1 of fenix (only 2 iterations on fenix) on my Moto G5:

mcomella commented 3 years ago

The script was accepted as is and merged in https://github.com/mozilla-mobile/fenix/pull/20463#event-5071287291.

What's remaining for this PR is: wait for my Moto G5 replacement battery to arrive and take the measurements.

mcomella commented 3 years ago

To measure NavStart on subsequent focus builds, I filed https://github.com/mozilla-mobile/focus-android/issues/5021

mcomella commented 3 years ago

I collected preliminary start up and app size data in this spreadsheet. wrt app size, it seems the GH releases numbers roughly align with the GPlay dashboard download sizes (GPlay is a MB or two smaller). I additionally discovered app updates are very small in focus so I filed https://github.com/mozilla-mobile/focus-android/issues/5031.

mcomella commented 3 years ago

I asked bdekoz to take page load measurements for:

mcomella commented 3 years ago

I have the final measurements for page load and app size and included it in my final report. I want to get a quick sanity check before sharing it out though.

mcomella commented 3 years ago

After feedback, I created a simpler report: https://docs.google.com/document/d/1PciDeCl98C0dhZ8t67h9TAH3xlqaESuUnDcf8729f9E/edit# We still need to wait on page load numbers though.

mcomella commented 3 years ago

We backported the onboarding override in https://github.com/mozilla-mobile/focus-android/issues/5364. We built the release builds and are just waiting to run the results.

mcomella commented 2 years ago

I think there are consistent conversations between the fenix team and perf so if this was needed, it would have come up and been prioritized. Since it doesn't seem to have been, I think it's probably not important right now. Closing.