Switch language한국어
Back to the list

How to Implement an FPS Counter | Hacker News

TL;DR AI

Key summary

2 min read
  1. A Hacker News post says FPS counters should filter frame timing not just for display, but also for animation and game logic.

  2. The argument is that OS scheduling jitter and noisy timers can create visible micro-stutter even when the average FPS looks fine.

  3. It recommends EMA smoothing and points out that APIs like CADisplayLink provide cleaner presentation timestamps.

Read the original