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
Loading
Please register or sign in to comment