Client event timing that includes nested iframes


When loading a page that has a nested iframe, it would be nice to have the nested iframe’s timings include the time passed before the parent page started loading the iframe.

The problem is that we’re going to try to use the MiniProfiler database logs to find pages that need improving, and the reality is that the MiniProfiler client timings are misleading when you introduce an iframe into the equation. This is because the parent page waits X seconds before the contents of the iframe begin loading. For example, if the page takes 1 second to load, and the iframe starts loading .5 second into the page load, and then the iframe takes 2 seconds to load, the total time to see the contents of the iframe is actually 2.5 seconds, not 2 seconds.