beeware / briefcase-android-gradle-template

A template for generating Android Gradle projects with Briefcase
MIT License
18 stars 19 forks source link

Add launch timing log #13

Closed paulproteus closed 4 years ago

paulproteus commented 4 years ago

See https://gist.github.com/paulproteus/5e0ba8863d8ed17caeee625ed148deff

This is to help ensure that we are fixing the right things, when working on app startup time.

Manual testing

I've tested that my helloworld app based on https://toga.readthedocs.io/en/latest/tutorial/tutorial-1.html seems to still launch correctly.

paulproteus commented 4 years ago

You asked:

My biggest question is around Android convention; is a full dotted path to the classname the best tag here? It seems... verbose.

It's not :) I just like being verbose.

Let me see if I can come up with a less verbose convention!

paulproteus commented 4 years ago

@freakboy3742 Ready for re-review. It's simpler and cleaner. The TAG convention I'm now using is consistent with Android platform conventions; see e.g. https://developer.android.com/studio/debug/am-logcat#WriteLogs