News for hackers. Stuff that matters.
Re:It Can Happen to You by mkeeter on Wednesday March 03, 2021 @09:29PM (#26337885)
Touché – after all, disk-to-RAM is hundreds of MB/s, and faster if it's cached!

In practice, I'm racing mesh loading against "how long does the OS take to give you an OpenGL context", which is rarely below 160 ms (longer if it has to switch from integrated to discrete GPU).

Re:It Can Happen to You by scaramanga on Thursday March 04, 2021 @02:21AM (#26339632)
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?

Re:It Can Happen to You by mkeeter on Thursday March 04, 2021 @08:56AM (#26342428)
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/