Title: [109435] trunk/Source/WebCore
Revision
109435
Author
[email protected]
Date
2012-03-01 14:50:07 -0800 (Thu, 01 Mar 2012)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (109434 => 109435)


--- trunk/Source/WebCore/ChangeLog	2012-03-01 22:48:59 UTC (rev 109434)
+++ trunk/Source/WebCore/ChangeLog	2012-03-01 22:50:07 UTC (rev 109435)
@@ -1,3 +1,15 @@
+2012-03-01  Alexey Proskuryakov  <[email protected]>
+
+        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.
+
 2012-03-01  Dan Bernstein  <[email protected]>
 
         ScrollView::setFrameRect() calls contentsResized() even when the frame size is unchanged

Modified: trunk/Source/WebCore/platform/network/BlobResourceHandle.cpp (109434 => 109435)


--- trunk/Source/WebCore/platform/network/BlobResourceHandle.cpp	2012-03-01 22:48:59 UTC (rev 109434)
+++ trunk/Source/WebCore/platform/network/BlobResourceHandle.cpp	2012-03-01 22:50:07 UTC (rev 109435)
@@ -48,7 +48,7 @@
 
 namespace WebCore {
 
-static const unsigned bufferSize = 1024;
+static const unsigned bufferSize = 512 * 1024;
 static const long long positionNotSpecified = -1;
 
 static const int httpOK = 200;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to