Repository navigation
Migrate performance snippets - #371
Open
pengzhi-cb wants to merge 2 commits into
Open
pengzhi-cb wants to merge 2 commits into
pengzhi-cb wants to merge 2 commits into
Conversation
pengzhi-cb
marked this pull request as ready for review
October 27, 2026 18:28
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.
Code snippets are for:
Total: 9 code snippets (6 unique Kotlin snippets and 0 XML snippets) across 6 pages.
List of modifications
...placeholders with// ...comments and added braces{ ... }around theif (BuildConfig.DEBUG)body inMyApplication.onCreate()(android_performance_appstartup_strict_modeinAnalysisOptimization.kt).{ mutableStateOf(false) }inandroid_compose_performance_conditional_compositionandandroid_compose_performance_conditional_composition_effect(AnalysisOptimization.kt).android_compose_performance_conditional_compositionandandroid_compose_performance_conditional_composition_effectinAnalysisOptimization.kt, and normalized indentation from 3 spaces to 4 spaces.when(activityState)towhen (activityState)inMainActivity.onCreate()(android_performance_launch_time_fully_drawn_reporterinLaunchTime.kt).@RunWith(AndroidJUnit4ClassRunner::class)with@RunWith(AndroidJUnit4::class), fixed parameter namewarmupIteration = 3towarmupIterations = 3inCompilationMode.Partial(...), and normalized spacing before the closing brace on line 76 (android_performance_baselineprofiles_measure_compilation_modesinMeasureBaselineProfile.kt).}for theuiAutomatorblock so the snippet compiles and formattedstartIntent(...)across multiple lines (android_performance_startupprofiles_generatorinDexLayoutOptimizations.kt).Snippets not migrated
adbshell command examples).