Tomáš Mlynarič
75a3295381
Merge branch 'main' into mlykotom/tz-perf-improvement
...
Change-Id: I8730afc0cc3786784ea47276873fdf48dd82081c
# Conflicts:
# app/dependencies/prodReleaseRuntimeClasspath.txt
# build-logic/convention/src/main/kotlin/AndroidFeatureConventionPlugin.kt
10 months ago
Ben Weiss
f64f1c0aa2
Remove legacy benchmark build type ( #1207 )
...
* Remove legacy benchmark build type
Now that we have the baseline profile gradle plugin,
there is no need for a benchmark build type.
The plugin does the setup and configuration and runs against the
correct app flavor.
* Remove explicit benchmark build type from benchmark module
* Remove stale build task exclusions
* Fix tracing import location
FYI @mlykotom
10 months ago
Tomáš Mlynarič
0b3ece1bb9
Fix spotless
...
Change-Id: I6583fa9ed7c1563f6164653be9bbaf7904ec0215
11 months ago
Tomáš Mlynarič
cb00d2c8cb
Add TimeZoneMonitor to prevent multiple TimeZoneBroadcastReceivers
...
This way, we can save ~1ms per composed item on screen.
Change-Id: Ib9ada3cea53304fca4fb2b36c48c175845bc683d
11 months ago
Don Turner
707117a4f2
Merge branch 'main' into kotlinify
1 year ago
Simon Marquis
be9dc533e3
Replace `Enum.values()` with `Enum.entries`
...
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
1 year ago
Don Turner
9d41ffa318
Merge branch 'main' into kotlinify
1 year ago
lihenggui
f8f932705a
Remove violations: discouraged-comment-location
1 year ago
Simon Marquis
caa482bc71
Kotlinify codebase
...
- Remove unnecessary nullable types
- Replace no-op method bodies with Unit
- Convert to expression body
- Replace if with when
- Remove braces from 'when' entries
- Remove braces from if statement
- Convert to single line lambda
- oneline if/returns
- Replace 'contains' call with 'in' operator
Following this refactor, it could be great to envision a more "strict" code formatter like ktlint 1.0 (we are currently stuck at 0.48.1)
1 year ago
Ben Weiss
aa8ce0e1f6
Add automated baseline profile generation ( #880 )
...
Baseline profile generation is disabled for the PR level Build task. Release tasks require a fresh baseline profile. A new profile is generated using the baseline profile Gradle plugin.
* Prepare for usage of dex layout optimizations which can be actively used once NiA switches to AGP 8.2+.
* Add GMD config to release build
* Switch to macos-latest
* Update names for StartupBenchmark tests to better reflect states
* Stable release and recent GMD device
* Reduce flakiness by adding wait to benchmark
* More convenient waiting for objects
* Rename junit dependency to androidx-junit
* Only run baseline profile benchmarks during GH workflow
* Enable automatic BP generation for only release builds
* Disable BP generation from Build workflow
* Specify modules and skip benchmarking Build workflow
Bug: b/299334172
1 year ago
kimdowoo
842df99e41
Apply consistent use of waitAndFindObject extension
1 year ago
Melwin Magalhaes
6247712064
Add convention plugins to version catalogs
1 year ago
Simon Marquis
a33dafccad
Migrate from `java` to `kotlin` sourceSet directory
1 year ago
Milosz Moczkowski
d2d12b958b
Merge pull request #858 from SimonMarquis/patch-10
...
Add missing `allowNotifications()` in `BaselineProfileGenerator.kt`
1 year ago
Don Turner
492697ce6b
Merge pull request #873 from SimonMarquis/misc-warnings
...
Fix miscellaneous warnings
1 year ago
Don Turner
246200f163
Merge pull request #754 from android/tm/metrics-one-folder
...
Compose compiler metrics saved into one folder
1 year ago
Simon Marquis
4bdc9705af
Fix miscellaneous warnings
...
- Remove unused namespace declaration
- Collapse empty manifest tags
- Remove redundant qualifier name
- Remove redundant suppression
1 year ago
Simon Marquis
83032cba6e
Add small delay before fling gesture
1 year ago
Simon Marquis
3b29e953bb
Update BaselineProfileGenerator.kt
1 year ago
Simon Marquis
03a15958ec
Add missing `allowNotifications()` in `BaselineProfileGenerator.kt`
...
Closes #853
1 year ago
Murat Yener
0c542b42f9
Merge pull request #827 from android/power-metric-benchmark
...
Adds PowerMetric benchmark to measure Light vs Dark theme
1 year ago
Martin Bonnin
aa66cbb596
allow notifications
1 year ago
Murat Yener
e18f7cb376
addressed comments
1 year ago
Murat Yener
f79b19c377
Spotless fixes
1 year ago
Murat Yener
7dc0336711
Ads PowerMetric benchmark which scrolls through the topics list in Light vs Dark theme
1 year ago
Murat Yener
93f94017c7
Baseline Profiles API change 'collectStableBaselineProfile()' is changed to 'collect()'
2 years ago
Alejandra Stamato
6f06704994
Added scroll test for topic list
2 years ago
Tomáš Mlynarič
4fcc867dd4
Move waitAndFind + dumpWindowHierarchy to Utils
...
Change-Id: Id4e05bf2392553179672155b9c1f935a933525dc
2 years ago
Tomáš Mlynarič
51713c71e7
Fix FrameTimingMetric using StartupMode.WARM
...
Change-Id: I1d08af6622f893eb6fef83b2b145cf8d6098b372
2 years ago
Tomáš Mlynarič
951e968aa4
Allow notification for BP Generator
...
Change-Id: Ie9a432ab04e56cd42664c8aacbc898b622767c62
2 years ago
Tomáš Mlynarič
7bee6d2f37
Add waitAndFind helper
...
Change-Id: I7498dda3eb686d15829d89688695866ae8382c6e
2 years ago
Miłosz Moczkowski
5bf66739bd
Remove redundant statements
...
Change-Id: Iaa25b7ba033d5e9c85cc2dc433197ed7b8b6cb89
2 years ago
Tomáš Mlynarič
0f98e4b709
Simplify StartupBenchmark to just use StartupMode.COLD
...
Change-Id: I70186c3fdab43fb1ceebcce62105666551ede269
2 years ago
Ale Stamato
0c8457099d
Merge pull request #733 from android/stamato/clicks-notification-dialog
...
Grant `permission.POST_NOTIFICATIONS` in Macrobenchmark tests
2 years ago
Alejandra Stamato
49c8ce700e
Fixing ScrollForYouFeedBenchmark
...
Co-authored-by: Simon Marquis <contact@simon-marquis.fr>
2 years ago
Simon Marquis
a605ab1727
Update benchmarks module minSdk to 28
...
Call requires API level 24:
- `CompilationMode` sealed class
Calls requires API level 28:
- `BaselineProfileRule()`
- `baselineProfileRule.collectBaselineProfile(PACKAGE_NAME)`
2 years ago
Simon Marquis
1341f7c2c5
Replace unused variable with simpler method calls
2 years ago
Simon Marquis
8ec54d19d8
Sort and group Gradle dependencies thanks to square/gradle-dependencies-sorter
2 years ago
Alex Vanyo
6146dd5576
Switch GMD to use a convention plugin
...
Change-Id: Ia4f94cd7533c9168752ee39e3f960108fe802ab4
2 years ago
Márton Braun
819dd494ad
Run Spotless to add trailing commas (and apply other rule updates)
...
Change-Id: I5f8e49a3ef004c7e9e7dfe4bc55f0a35dc575209
2 years ago
mlykotom
3d524d95cc
Fix selecting topics
...
Change-Id: I958ad68ead1dffce0916dd5d6b7bff275b201fc7
2 years ago
mlykotom
6b48b355cc
Merge branch 'main' into tm/fix-benchmarks-no-people
...
Change-Id: I94ca19fad5527c11a2f0f28cc43a23ab22f419a7
2 years ago
Takeshi Hagikura
4633609930
Introduce GMD + ATD ( #479 )
...
Introduce Gradle Managed Device definitions to modules that have instrumented tests.
At the moment, defining it as a convention plugin isn't possible due to the bug. That bug is now fixed and will be included in Android Studio Flamingo.
Once Flamingo becomes stable, convert the GMD definitions as a convention plugin (#523 )
Change-Id: I0866369e3d0bbe148ca5ec1f92bad59239a347b8
2 years ago
mlykotom
1c09d0a6ea
Simplify selecting topics
...
Change-Id: Icd5bcb361c7ccdf9ce907729ca3f65de41f34649
2 years ago
mlykotom
0c98a3fa58
Add comment
...
Change-Id: I8524c4fbd8c9b95274d82a28e19eceb12da3ef6a
2 years ago
mlykotom
8c6b74d978
Fix wait for bookmarks to show
...
Change-Id: Ia4dfb1eea89a6b211b80789ae6f4548a0c23121e
2 years ago
mlykotom
4bc29d9cdc
Fix scrolling benchmark
...
Change-Id: Ifb43ab0ffe6e38b00d5aad63415fc8439534c112
2 years ago
mlykotom
034a6c4043
Fix checking for selected topic
...
Change-Id: If86541613daf44e552df4309243309f80086230a
2 years ago
mlykotom
5687c8d33a
Fix bookmarks actions
...
Change-Id: I415d651414d68a312498d5faff799d72145a53ed
2 years ago
mlykotom
db5fe96c4c
Fix interests actions
...
Change-Id: I3583d6c7c904f0cf1bf21892721551f41d89796f
2 years ago