[Webkit-unassigned] [Bug 37919] [Qt] aviary.com loads slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 13 12:56:01 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=37919





--- Comment #5 from Joe Wild <joseph.wild at nokia.com>  2011-03-13 12:56:01 PST ---
Created an attachment (id=85619)
 --> (https://bugs.webkit.org/attachment.cgi?id=85619&action=review)
Log file of aviary.com load without WebResource.axd.

Log file.

I think I finally have a handle on what is going on here.  The problem
seems to be below WebKit in the loader levels.  And I'm not quite
sure of where to assign this error or even if it is an error.

I would guess there is some limitation on the number of outstanding
load requests, open connections, or whatever that make this page take
so long to load.

It turns out that the load request to a supposed Javascript file
WebResource.axd takes 30 or more seconds to return empty content.
While we are waiting for that page, other loading is at a stand still.

Once I finally figurued out how to keep this load request from being
issued, the page loads in a pretty reasonable time.

I added the following to 

Source/WebCore/loader/ResourceLoadScheduler.cpp
PassRefPtr<SubresourceLoader> ResourceLoadScheduler::scheduleSubresourceLoad(Frame* frame, SubresourceLoaderClient* client, const ResourceRequest& request, ResourceLoadPriority priority, SecurityCheckPolicy securityCheck, bool sendResourceLoadCallbacks, bool shouldContentSniff)
{
---
    if ( url.contains("WebResource") ) {
        qDebug() << "    <*JPW*>  ResourceLoadScheduler::scheduleSubresourceLoad skip WebResource.axd load";
        return 0;
    } 

Without WebResource.axd, the page loads in about 6 seconds and
makes steady progress all along the way. Attached is the full
log file, aviary_load_log01.txt

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list