binding_fps library

Classes

BindingFps
do what @author yulun @since 2020-07-17 11:36 这个统计方式和fps_computer里的不一样,通过监听WidgetsBinding的handleBeginFrame和handleDrawFrame实现 handleBeginFrame Called by the engine to prepare the framework to produce a new frame. handleDrawFrame Called by the engine to produce a new frame. 在一秒内计算从begin->draw调用了多少次,次数就是帧数,如果帧数少于手机的渲染帧数,会认为丢失了多少帧 参考文章 https://developer.aliyun.com/article/699875