Re: PHP.net Site Structure
| From: | Hannes Magnusson | Date: | Thu, 05 Nov 2009 15:49:48 +0000 |
| Subject: | Re: PHP.net Site Structure | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-6375@lists.php.net to get a copy of this message | ||
On Mon, Nov 2, 2009 at 08:46, Stewart Lord <stewey@ambitious.ca> wrote:
>
> On 1-Nov-09, at 8:45 AM, Hannes Magnusson wrote:
>
>> Wow. Thats really slow.
>> On the otherhand ca.php.net isn't running sqlite, so it gets dozens of
>> stat()s on every manual-lookup.php hit, and generally much slower code
>> path.
>> Try ca2 or ca3, which I hope are much faster.
>
>
> Sure thing...
>
> CA:
> ---
> $ ab -n10
> "http://ca.php.net/manual-lookup.php?pattern=test"
Ahh!
Thats bad example. When we don't get any results we try all sorts of
weirdness to guess what you were trying to find.
Try a real example, like 'strpos' or something :)
The no.php.net mirror is returning little above 60ms for a full match
(strpos), and around 160 for good matching results like 'str' or
'strpos2'
Note that we populate ~20 results for that page, the ajax responses
will probably not have more then 5-10..
-Hannes