[Webkit-unassigned] [Bug 175348] New: Resource Load Statistics: Merge of dataRecordsRemoved should use std::max()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 8 15:18:15 PDT 2017


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

            Bug ID: 175348
           Summary: Resource Load Statistics: Merge of dataRecordsRemoved
                    should use std::max()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wilander at apple.com

When we merge dataRecordsRemoved from two different sources we should not add them since that may create a bounce back and forth that inflates the number. Note that this statistic does not affect classification.

std::max() is not correct either but closer to correct, especially in real life. A correct solution probably requires keeping separate track of deltas.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170808/c2e3912a/attachment.html>


More information about the webkit-unassigned mailing list