You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you make sure to use a very recent version of browserhtml and use it with "http://localhost:6060/index.html?progressbar=standalone&raf=timer".
I tried that. No there is no progress bar, and after several minutes of waiting, the only thing I get is the title bar updates with the reddit title. No other content is displayed.
I ran with ./mach run --release -- -b -w --pref dom.mozbrowser.enabled 'http://localhost:6060/index.html?progressbar=standalone&raf=timer'
The data is a bit confusing. wget and curl show similar latency to Servo on both OS X and Linux; Firefox and Chrome do not, and spoofing Servo's UA doesn't make a difference.
One operating theory is that this is an OpenSSL vs. NSS thing, but Chrome uses BoringSSL and I'm not sure how to check what stack wget and curl binaries are using.
Activity
paulrouget commentedon May 4, 2016
Can you make sure to use a very recent version of browserhtml and use it with
"http://localhost:6060/index.html?progressbar=standalone&raf=timer".metajack commentedon May 4, 2016
I tried that. No there is no progress bar, and after several minutes of waiting, the only thing I get is the title bar updates with the reddit title. No other content is displayed.
I ran with
./mach run --release -- -b -w --pref dom.mozbrowser.enabled 'http://localhost:6060/index.html?progressbar=standalone&raf=timer'metajack commentedon May 4, 2016
Ok, after a few more minutes, the broken page (as in the screenshot above) was displayed.
jdm commentedon May 5, 2016
My investigations suggest that #3847 is totally not the long pole here. More information as it arrives.
paulrouget commentedon May 5, 2016
Does it take that much time without browserhtml?
jdm commentedon May 5, 2016
Yes. I'm profiling non-browserhtml Servo and the time spent loading reddit.com is highly variable (but usually ridiculous).
jdm commentedon May 5, 2016
Yeah, the biggest issue here is that the SSL connection for the initial page load can have huge variation. I've seen everthing from 1s to 10s before any the response body starts appearing; my tests show that connecting to http://www.reddit.com yields extremely quick response times, but when it redirects to https the load time goes off the deep end.
metajack commentedon May 5, 2016
Do you see similar variation with Firefox or Chrome? Or does this seem to be caused by our stack specifically?
jdm commentedon May 5, 2016
The data is a bit confusing.
wgetandcurlshow similar latency to Servo on both OS X and Linux; Firefox and Chrome do not, and spoofing Servo's UA doesn't make a difference.jdm commentedon May 5, 2016
One operating theory is that this is an OpenSSL vs. NSS thing, but Chrome uses BoringSSL and I'm not sure how to check what stack
wgetandcurlbinaries are using.ekr commentedon May 5, 2016
I would be surprised if this were OpenSSL versus NSS. What do wireshark traces show/
jdm commentedon May 5, 2016
The remote server sends us the
new session ticket, change cipher spec, encrypted handshake message, we sendApplication Data, the server ACKs it, then there's an 8 second gap before the remote server sends a series ofApplication Datamessages: http://joshmatthews.net/reddit.pcapngjdm commentedon May 5, 2016
I'll see what the equivalent Firefox trace looks like.
ekr commentedon May 5, 2016
OK, then this is something on the server side. Probably a throttling mechanism.
ekr commentedon May 5, 2016
Can you duplicate it on any other site?
jdm commentedon May 5, 2016
So far the only odd HTTPS result I've found is that it took 150s to start receiving the HTTP response body from https://html.spec.whatwg.org/, but only 273ms from https://html.spec.whatwg.org/multipage/.
Edit: doesn't appear to be reproducible, unlike the reddit case.
ekr commentedon May 6, 2016
This sounds like it's something local to reddit. I would consider reaching out to them to ask
Auto merge of #11692 - jdm:language, r=Manishearth