long DOMContentLoaded times

Can anyone help me understand why I have huge gaps in my page load times that coincide with long DOMContentLoaded times?

[attachment=422]

Thanks,
Patrick

Holy cow, I’ve never seen it anywhere near that bad. Is it reproducible across several runs or from several locations?

There’s something going on in the javascript of the page that is causing a horrible loop of some kind when it runs the document.ready code but I’ve never seen anything even nearly that bad. If you run a test with Chrome and turn on dev tools timeline capture (advanced settings->chrome) you can get a dev tools timeline that shows exactly what code is taking so long and the call stack that got you there (assuming you can reproduce it in Chrome).