Source code browser page is excruciatingly slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Twisted Website |
Incomplete
|
Wishlist
|
Unassigned |
Bug Description
Takes up to 12s just to load the initial HTML.
I'm sure it used to be quicker than this.
It's important to me because I regularly click on source code links from the API documentation.
{{{
$ time curl -v -s http://
* About to connect() to twistedmatrix.com port 80 (#0)
* Trying 66.35.39.65... connected
* Connected to twistedmatrix.com (66.35.39.65) port 80 (#0)
> GET /trac/browser HTTP/1.1
> User-Agent: curl/7.21.3 (i686-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
> Host: twistedmatrix.com
> Accept: */*
>
< HTTP/1.1 200 Ok
< Content-Length: 50309
< Set-Cookie: trac_form_
< Set-Cookie: trac_session=
< Server: TwistedWeb/10.0.0
< Cache-Control: must-revalidate
< Date: Thu, 01 Dec 2011 11:38:09 GMT
< Content-Type: text/html;
<
{ [data not shown]
* Connection #0 to host twistedmatrix.com left intact
* Closing connection #0
real 0m6.408s
user 0m0.004s
sys 0m0.008s
richard@aziz:~$ time curl -s http://
real 0m12.487s
user 0m0.008s
sys 0m0.004s
richard@aziz:~$ time curl -s http://
real 0m11.628s
user 0m0.008s
sys 0m0.012s
richard@aziz:~$ time curl -s http://
real 0m9.326s
user 0m0.004s
sys 0m0.008s
}}}
I don't think this is a new issue with the site. Performance is highly variable, as our hardware is currently pretty overloaded.
$ time curl -s http:// twistedmatrix. com/trac/ browser > /dev/null
real 0m1.253s twistedmatrix. com/trac/ browser > /dev/null
user 0m0.009s
sys 0m0.009s
$ time curl -s http://
real 0m1.350s twistedmatrix. com/trac/ browser > /dev/null
user 0m0.009s
sys 0m0.008s
$ time curl -s http://
real 0m1.263s twistedmatrix. com/trac/ browser > /dev/null
user 0m0.009s
sys 0m0.008s
$ time curl -s http://
real 0m1.330s
user 0m0.009s
sys 0m0.008s
If you can demonstrate in some more meaningful way that performance has suffered, it might be worth looking into further.