strange event order: 1. DOM inter. 2. Doc complete 3. RUM FP 4. Starts render

My event order is:
[list=1]
[]DOM interactive
[
]Document complete
[]RUM First Paint
[
]Starts render
[/list]

Shouldn’t it be:

[list=1]
[]RUM First Paint || Starts render
[
]DOM interactive
[*]Document complete
[/list]

Why do I have such strange order of events?

Not necessarily. Layout and painting are done lazily and relatively asynchronously (and it can take a while to actually do the layout and render). If your HTML and included resources load fast enough it is entirely possible for the browser to complete loading technically without having painted anything to the screen yet.

My deduction from your answer is, that maybe I understand improperly what is what.

What exactly is DOM interactive? I couldn’t find info in DOCs.

sites.google.com/a/webpagetest.org/docs/system/app/pages/search?scope=search-site&q=dom+interactive

DOM Interactive is a spec’d standard: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domInteractive

It’s basically when the parser completes processing the HTML (before firing the DOMContentLoaded handlers if I remember right).