Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Great data-point, I was wondering what the costs of all that would be.

How do you measure when the frame is done, are you waiting for a vsync?



It's self-reported by the logging system after glfwShowWindow() returns for the first time, so probably not 100% accurate, but reasonably close.

A truly fancy system would be something like Tristan Hume's keyboard-to-photon latency system: https://thume.ca/2020/05/20/making-a-latency-tester/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: