How to accurately measure HTML5 Browser Framerates (FPS)?

前端 未结 1 627
渐次进展
渐次进展 2020-12-15 22:14

What is the most accurate way to measure framerates, i.e. FPS, in modern HTML5 browsers? I\'m specifically interested in FPS for Canvas animations.

http://weblogs.m

相关标签:
1条回答
  • 2020-12-15 22:45

    Please check:

    • https://github.com/mrdoob/stats.js - it's the best FPS monitor I know. It also gives you some stats about mem/cpu usage (you have to run your browser with special parameter to expose that data), but may also suffer from the inaccuracy you described.

    • https://github.com/pcwalton/firefox-framerate-monitor

    Also, in new chrome builds (probably canary stream) there should be an option for displaying FPS in about:flags.

    0 讨论(0)
提交回复
热议问题