[Webkit-unassigned] [Bug 117458] New: Add SharedBuffer::getAsArrayBuffer() and use it to create XMLHttpRequest's response in ArrayBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 18:03:00 PDT 2013


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

           Summary: Add SharedBuffer::getAsArrayBuffer() and use it to
                    create XMLHttpRequest's response in ArrayBuffer
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: ap at webkit.org, sam at webkit.org, barraclough at apple.com,
                    benjamin at webkit.org


Consider merging https://chromium.googlesource.com/chromium/blink/+/bed266aa5a43f7c080c87e527bd35e2b80ecc7b7

This cuts
- two memsets (in ArrayBuffer::create and SharedBuffer::m_buffer::resize)
- one copy (SharedBuffer::m_buffer to ArrayBufferContents::m_data)
- one allocation (SharedBuffer::m_buffer)

Copy for consolidation still happens from m_segments to m_data instead of from
m_segments to m_buffer.

Quick localhost benchmark showed ~10% speedup.

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