commit | b1bf611b59d19d628d94deab3a25c3cf73bbc111 | [log] [tgz] |
---|---|---|
author | Victor Chang <vichang@google.com> | Mon Jan 29 14:59:52 2024 +0000 |
committer | Victor Chang <vichang@google.com> | Mon Jan 29 15:15:34 2024 +0000 |
tree | 0ebc62037e4a0c96f593ca0199b7d1da0ddbfd2f | |
parent | c40bde3f8e0b3fd98f3ae0579770b9947322c229 [diff] |
Avoid mockito in MotionPredictorBenchmark Mockito dominates the time to create MotionPredictor, and it can be avoided. The median time reduces from ~39614ns to ~683ns. (-98%). Bug: 321913450 Test: atest CorePerfTests:android.input.MotionPredictorBenchmark Change-Id: Idea21b5627a25af8d5941bb8c7a1ff567eb2504d