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
11 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
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
2 years ago
Murat Yener
7dc0336711
Ads PowerMetric benchmark which scrolls through the topics list in Light vs Dark theme
2 years 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
Alejandra Stamato
49c8ce700e
Fixing ScrollForYouFeedBenchmark
...
Co-authored-by: Simon Marquis <contact@simon-marquis.fr>
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
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
mlykotom
0018144827
LoadingWheel testTag for every loading wheel
...
Change-Id: I7728e1717925abdfb607e93f3d48226910d42c0d
2 years ago
mlykotom
039ec8e959
Select topics to be able to scroll
...
Change-Id: Ib7a2a3e87ab3b5d8da6c0fc1b77855f46ef5236a
2 years ago
mlykotom
ec6e902c0f
Waiting for topic selection
...
Change-Id: I44226a7c5e693ee92eed27070c09cd4e0751e674
2 years ago
Jolanda Verhoef
4ba63c0de8
Remove author concept from app
...
Change-Id: Icd03c0288ba5f3f23dbcbdbefbbe802db2815793
2 years ago
mlykotom
de49bc56a7
Revert "Custom startup benchmark"
...
This reverts commit 53648921bc
.
2 years ago
mlykotom
11e828a8f7
Revert "Latest alpha macrobenchmark"
...
This reverts commit 8f73117f6a
.
2 years ago
mlykotom
53648921bc
Custom startup benchmark
...
Change-Id: Ib402e5d818843cd305344be8283c7fa135291abe
2 years ago
mlykotom
8f73117f6a
Latest alpha macrobenchmark
...
Change-Id: I440a9fc6eb3b2bb935112cba78385a0798dfa7b8
2 years ago