diff options
author | 2024-01-29 14:59:52 +0000 | |
---|---|---|
committer | 2024-01-29 15:15:34 +0000 | |
commit | b1bf611b59d19d628d94deab3a25c3cf73bbc111 (patch) | |
tree | 0ebc62037e4a0c96f593ca0199b7d1da0ddbfd2f /api/api.go | |
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions