Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccd79658 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "benchmarks: add more systemui benchmarks" into main am: f5ae1853

parents a4c1842d f5ae1853
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -794,6 +794,24 @@ benchmarks:
                      preroll=1,
                      postroll=2,
                      ),
            Benchmark(id="systemui_flicker_add_log_call",
                      title="Add a Log call to flicker",
                      change=Modify("platform_testing/libraries/flicker/src/android/tools/flicker/FlickerServiceResultsCollector.kt",
                                    lambda: f'Log.v(LOG_TAG, "BENCHMARK = {random.randint(0, 1000000)}");\n',
                                    before="Log.v(LOG_TAG,"),
                      modules=["WMShellFlickerTestsPip"],
                      preroll=1,
                      postroll=2,
                      ),
            Benchmark(id="systemui_core_add_log_call",
                      title="Add a Log call SystemUIApplication",
                      change=Modify("frameworks/base/packages/SystemUI/src/com/android/systemui/SystemUIApplication.java",
                                    lambda: f'Log.v(TAG, "BENCHMARK = {random.randint(0, 1000000)}");\n',
                                    before="Log.wtf(TAG,"),
                      modules=["SystemUI-core"],
                      preroll=1,
                      postroll=2,
                      ),
        ]

    def _error(self, message):