Rank: Advanced Member Groups: Member
Joined: 10/4/2016 Posts: 104
|
Hi,
Is there an easy way to determine how much characters have been received in order to render a page on a screen?
I understand that I can easily get this information on the LoadEventComplete and if I start a timer between the page starting to load and the time it completes, I can find out about the bandwidth but then most of the times, there is only one LoadEvenComplete event, after that all live changes within a given page are the result of server pushed changes.
So is there a way, I can find out when my page start receiving characters to change its content? And then how much it got during this change? By monitoring the interval times, I could get an idea of my bandwidth with my host server?
Thank you for any suggestion in this area.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi,
No. There is no such events. The network layer of the browser engine is highly optimized and is closely integrated with the parser and render. This network -> parser -> render pipe line is probably the most performance sensitive part of the browser engine ---- so while it's technically possible for us to to collect the information you are interested, it's unlikely we will implement any kind of interception/notification mechanism in this pipeline since it can have serious performance implications.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 10/4/2016 Posts: 104
|
Ok fair enough. I surely do not want to mess around with this. I guess, I'll go with a static page aside that we will access to periodically and for which it will be easy to calculate the bandwidth on each LoadCompleteEvent.
|