FloatingSettingView icon indicating copy to clipboard operation
FloatingSettingView copied to clipboard

cpu占用太高

Open Dongzzzz opened this issue 7 years ago • 1 comments

工程down下来运行后,看了下cpu使用,cpu占用在12%左右。华为荣耀6。 明显不能集成到项目里面。希望作者优化下。

Dongzzzz avatar Oct 20 '17 07:10 Dongzzzz

cpu占用确实高了点,因为在线程中不断的计算位置->绘制->计算下一个位置->绘制...大量的计算导致cpu负载过高,计算不可避免,目前没有想到更好的方法。这是后续将优化的一个方面,暂时是一个demo项目,如若对性能要求较高,放在项目中使用请谨慎考虑。

cccdada avatar Oct 25 '17 09:10 cccdada