Preethi Natarajan wrote:
After the html page is received, a node for a.jpg is placed in the DOM,
and a request is sent (time=x). Then necko receives the response header
for a.jpg (time=y), immediately followed by a.jpg.
- Is there any delay between y and when nsHttpChannel::OnDataAvailable
gets the response header?
I assume OnStartRequest here.
Necko receives the response on a background thread and posts an event to the
main thread to call OnStartRequest. There is thus time delay that depends on
the context switching in the operating system and how many events were already
in the main thread event queue.
- Is there any delay between y and when nsHttpChannel::OnDataAvailable
gets a.jpg data (time=z)?
Same thing, basically.
I am interested in times x and z alone. Apart from network & CPU
processing delays, do any Firefox parameters/design contribute to the
delay between x and z?
Apart from the above, no.
-Boris
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network