[Webkit-unassigned] [Bug 143202] Include cache entry worth to json dump

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 29 17:14:06 PDT 2015


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

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #249703|review?                     |review+
              Flags|                            |

--- Comment #3 from Darin Adler <darin at apple.com> ---
Comment on attachment 249703
  --> https://bugs.webkit.org/attachment.cgi?id=249703
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=249703&action=review

> Source/WebKit2/NetworkProcess/cache/NetworkCacheEntry.cpp:154
> +    json.append(String::format("\"bodySize\": %zu,\n", info.bodySize));
> +    json.append(String::format("\"worth\": %f,\n", info.worth));

I think it’s better to use appendNumber than String::format for putting numbers into a StringBuilder.

-- 
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/20150330/5526881b/attachment-0002.html>


More information about the webkit-unassigned mailing list