-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #263 from android/tm/composition-tracing
Add composition tracing example
- Loading branch information
Showing
9 changed files
with
137 additions
and
16 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
MacrobenchmarkSample/.run/Scroll List With Composition Tracing.run.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Scroll List With Composition Tracing" type="AndroidTestRunConfigurationType" factoryName="Android Instrumented Tests"> | ||
<module name="macrobenchmark.macrobenchmark.main" /> | ||
<option name="TESTING_TYPE" value="3" /> | ||
<option name="METHOD_NAME" value="scrollComposeList" /> | ||
<option name="CLASS_NAME" value="com.example.macrobenchmark.benchmark.frames.FrameTimingBenchmark" /> | ||
<option name="PACKAGE_NAME" value="" /> | ||
<option name="TEST_NAME_REGEX" value="" /> | ||
<option name="INSTRUMENTATION_RUNNER_CLASS" value="" /> | ||
<option name="EXTRA_OPTIONS" value="-e androidx.benchmark.perfettoSdkTracing.enable true" /> | ||
<option name="RETENTION_ENABLED" value="No" /> | ||
<option name="RETENTION_MAX_SNAPSHOTS" value="2" /> | ||
<option name="RETENTION_COMPRESS_SNAPSHOTS" value="false" /> | ||
<option name="CLEAR_LOGCAT" value="false" /> | ||
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" /> | ||
<option name="INSPECTION_WITHOUT_ACTIVITY_RESTART" value="false" /> | ||
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" /> | ||
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" /> | ||
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" /> | ||
<option name="DEBUGGER_TYPE" value="Auto" /> | ||
<Auto> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
<option name="DEBUG_SANDBOX_SDK" value="false" /> | ||
</Auto> | ||
<Hybrid> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
<option name="DEBUG_SANDBOX_SDK" value="false" /> | ||
</Hybrid> | ||
<Java> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
<option name="DEBUG_SANDBOX_SDK" value="false" /> | ||
</Java> | ||
<Native> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
<option name="DEBUG_SANDBOX_SDK" value="false" /> | ||
</Native> | ||
<Profilers> | ||
<option name="ADVANCED_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Java/Kotlin Method Sample (legacy)" /> | ||
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" /> | ||
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" /> | ||
</Profilers> | ||
<method v="2"> | ||
<option name="Android.Gradle.BeforeRunTask" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Mon Mar 06 15:40:15 GMT 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.