|
|
@ -1,5 +1,4 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
<!--
|
|
|
|
|
|
|
|
Copyright 2024 The Android Open Source Project
|
|
|
|
Copyright 2024 The Android Open Source Project
|
|
|
|
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
@ -15,28 +14,41 @@
|
|
|
|
limitations under the License.
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<component name="ProjectRunConfigurationManager">
|
|
|
|
<component name="ProjectRunConfigurationManager">
|
|
|
|
<configuration default="false" name="Generate Demo Baseline Profile" type="GradleRunConfiguration" factoryName="Gradle">
|
|
|
|
<!--
|
|
|
|
<ExternalSystemSettings>
|
|
|
|
Baseline Profiles improve code execution speed by around 30% from the first launch by avoiding
|
|
|
|
<option name="executionName" />
|
|
|
|
interpretation and just-in-time (JIT) compilation steps for included code paths.
|
|
|
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
|
|
More information at http://d.android.com/baseline-profiles.
|
|
|
|
<option name="externalSystemIdString" value="GRADLE" />
|
|
|
|
In this run configuration we leverage rerun parameter that always reruns the requested task regardless of cache.
|
|
|
|
<option name="scriptParameters" value="-Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile" />
|
|
|
|
We also leverage enable-display parameter to be able to verify the generator works as intended.
|
|
|
|
<option name="taskDescriptions">
|
|
|
|
-->
|
|
|
|
<list />
|
|
|
|
<configuration name="Generate Demo Baseline Profile"
|
|
|
|
</option>
|
|
|
|
default="false"
|
|
|
|
<option name="taskNames">
|
|
|
|
factoryName="Gradle"
|
|
|
|
<list>
|
|
|
|
type="GradleRunConfiguration">
|
|
|
|
<option value=":benchmarks:pixel6Api33DemoBenchmarkReleaseAndroidTest" />
|
|
|
|
<ExternalSystemSettings>
|
|
|
|
<option value="--rerun" />
|
|
|
|
<option name="executionName" />
|
|
|
|
<option value="--enable-display" />
|
|
|
|
<option name="externalProjectPath"
|
|
|
|
</list>
|
|
|
|
value="$PROJECT_DIR$" />
|
|
|
|
</option>
|
|
|
|
<option name="externalSystemIdString"
|
|
|
|
<option name="vmOptions" />
|
|
|
|
value="GRADLE" />
|
|
|
|
</ExternalSystemSettings>
|
|
|
|
<option name="scriptParameters"
|
|
|
|
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
|
|
|
value="-Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile" />
|
|
|
|
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
|
|
|
<option name="taskDescriptions">
|
|
|
|
<DebugAllEnabled>false</DebugAllEnabled>
|
|
|
|
<list />
|
|
|
|
<RunAsTest>false</RunAsTest>
|
|
|
|
</option>
|
|
|
|
<method v="2" />
|
|
|
|
<option name="taskNames">
|
|
|
|
</configuration>
|
|
|
|
<list>
|
|
|
|
|
|
|
|
<option value=":benchmarks:pixel6Api33DemoBenchmarkReleaseAndroidTest" />
|
|
|
|
|
|
|
|
<option value="--rerun" />
|
|
|
|
|
|
|
|
<option value="--enable-display" />
|
|
|
|
|
|
|
|
</list>
|
|
|
|
|
|
|
|
</option>
|
|
|
|
|
|
|
|
<option name="vmOptions" />
|
|
|
|
|
|
|
|
</ExternalSystemSettings>
|
|
|
|
|
|
|
|
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
|
|
|
|
|
|
|
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
|
|
|
|
|
|
|
<DebugAllEnabled>false</DebugAllEnabled>
|
|
|
|
|
|
|
|
<RunAsTest>false</RunAsTest>
|
|
|
|
|
|
|
|
<method v="2" />
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
</component>
|
|
|
|
</component>
|
|
|
|