This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve our decoded data size estimation for style sheets.
<http://webkit.org/b/104388> Reviewed by Antti Koivisto. Tweak how we estimate the total decoded size of a given style sheet. (We were guessing at about 30% of actual size.) This is just used as a hint to the WebCore cache. * css/StylePropertySet.cpp: (WebCore::StylePropertySet::averageSizeInBytes): * css/StyleRule.cpp: (WebCore::StyleRule::averageSizeInBytes): Canonical link: https://commits.webkit.org/122546@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 3 changed files with 17 additions and 2 deletions.