In my project, I attend to measure the HTML parsing time, that is, how much percent of processing time is for HTML parsing when a web browser handling a particular webpage.
It seems instrumenting Firefox would be a good place to start. But this may take some time (I have no idea of the any complexities of instrumenting Firefox to fetch this info).
So my question is: Any idea on measuring this ratio in a relative lightweight way? Or by any chance you saw this information already available on any public papers/websites?