Repository navigation
perf(uno-sample): measure Android cold start with startup markers - #295
Open
michaelstonis wants to merge 1 commit into
Open
michaelstonis wants to merge 1 commit into
michaelstonis wants to merge 1 commit into
Conversation
StartupTrace logs the time since process start under the KumikoStartup logcat tag at the app, window and first page steps, so a cold start can be split without a profiler. It writes nothing on the other heads.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #278.
The 15 to 20 s cold start did not reproduce. On the
KumikoUI-MAUI-AndroidAVD (Android 35 arm64, 4 cores, 2 GB) the Uno sample's Release build started in a median of 2.16 s (am start -W, 7 cold starts) against 1.13 s for the MAUI sample. The extra second is Uno runtime startup and the NavigationView shell; KumikoUI's share (font registration about 15 ms, grid page and data about 70 ms, first paint) is small. Details are recorded under F8 indocs/uno/verification.md(in #298).This adds startup markers to the sample's Android head (
StartupTrace, logcat tagKumikoStartup, milliseconds since process start), compiled on Android only, so the measurement can be repeated on a device.No physical device was measured.