⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 109435 in webkit


Ignore:
Timestamp:
Mar 1, 2012, 2:50:07 PM (15 years ago)
Author:
ap@apple.com
Message:

FileReader read speed is way too low
​https://bugs.webkit.org/show_bug.cgi?id=77272

Reviewed by Oliver Hunt.

This brings performance to reasonable range, but certainly doesn't exhaust improvement opportunities.

  • platform/network/BlobResourceHandle.cpp: Use a more appropriate block size. Performing cross-thread messaging for every 1024 bytes is slow.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r109431 r109435  
     12012-03-01  Alexey Proskuryakov  <ap@apple.com>
     2
     3        FileReader read speed is way too low
     4        https://bugs.webkit.org/show_bug.cgi?id=77272
     5
     6        Reviewed by Oliver Hunt.
     7
     8        This brings performance to reasonable range, but certainly doesn't exhaust improvement opportunities.
     9
     10        * platform/network/BlobResourceHandle.cpp: Use a more appropriate block size. Performing
     11        cross-thread messaging for every 1024 bytes is slow.
     12
    1132012-03-01  Dan Bernstein  <mitz@apple.com>
    214
  • trunk/Source/WebCore/platform/network/BlobResourceHandle.cpp

    r109360 r109435  
    4949namespace WebCore {
    5050
    51 static const unsigned bufferSize = 1024;
     51static const unsigned bufferSize = 512 * 1024;
    5252static const long long positionNotSpecified = -1;
    5353
Note: See TracChangeset for help on using the changeset viewer.