What may cause the speed of an app to change

青春壹個敷衍的年華 提交于 2020-01-07 02:22:27

问题


I am attempting to make changes to a complex image processing app which employs some C++ code and opencv. I have noticed that its speed can vary by as much as 20% from one run to the next even without me making any changes to the code. Its as if my phone was sometimes in a good mood and other times not. I guess its probably something to do with other tasks being carried out by the phone why my app is running (please tell me if you think there are other possibilities).

I wonder if there is anything I could do to make sure the app always runs at the same speed. Perhaps doing something like give my app greater priority over other tasks? Or suppress other tasks?

来源:https://stackoverflow.com/questions/24631535/what-may-cause-the-speed-of-an-app-to-change

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!