diff options
author | 2025-02-13 16:04:20 -0800 | |
---|---|---|
committer | 2025-03-05 18:48:57 -0800 | |
commit | 2b5fbafd37a066a89b68d90d234a813be672f67b (patch) | |
tree | f1dcec095670626e4de918f813c84a9515848107 /tools/aapt2/ResourceParser.cpp | |
parent | 8c9735d34672db10fe20a75f1b173e99a2665dd2 (diff) |
Add touch down-move-up benchmark
This will exercise the basic inputflinger pipeline for handling touch
events.
The purpose is to mainly serve as a template for adding future
benchmarks.
Also, move existing input-related benchmarks into the InputPerfTests, so
that they are all in one place. This allows us to specify custom build
rules like treating kotlin warnings as errors, including specific
libraries, etc.
Example output:
com.android.perftests.input (1 Test)
[1/1] android.input.TouchPerfTest#testDownMoveUp: PASSED (9.488s)
downMoveUp_mean (ns): 81734303
downMoveUp_median (ns): 81343021
downMoveUp_min (ns): 75008516
downMoveUp_standardDeviation: 5514345
Bug: 396219004
Test: atest InputPerfTests
Flag: TEST_ONLY
Change-Id: I686c0fa6d2d5745ca0d4d69f12308331e37b818f
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
0 files changed, 0 insertions, 0 deletions