Useful for analyzing cache performance.
Created attachment 249703 [details] patch
Attachment 249703 [details] did not pass style-queue: ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheStorage.cpp:430: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheStorage.h:75: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 249703 [details] 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.