Measure latency?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Measure latency?

Postby sdiverdi » Wed Oct 27, 2021 7:05 pm

I have an OSR renderer and I interact with the page it is rendering by calling ExecuteJavaScript. Is there a way I can know if my javascript was executed before the renderer calls OnPaint? What I mean is if ExecuteJavaScript is called late enough into the rendering, the next OnPaint image may not reflect the change introduced by the javascript, and it will be one more OnPaint call before the change is apparent. I'm tracing latency through my app, and getting stuck on this step. I could construct a specific page to render, and a javascript payload that e.g. changes the background color, and check for that, but I want to measure on real-world payloads, so can't necessarily rely on programmatically analyzing the rendered image.
sdiverdi
Mentor
 
Posts: 51
Joined: Fri Dec 25, 2020 7:41 pm

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 39 guests