diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-12 02:34:38 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-12 02:34:38 +0530 |
commit | ebe3295424a4e2895657ef0defa5c90b4cd16718 (patch) | |
tree | c8af0af15bb8b02bbb2c14cce6022fae17bf4fdf /components/script/dom/processinginstruction.rs | |
parent | 2a416e77a82141ebe6833f1def31e799af5d1c6b (diff) | |
parent | b31a3b3883442095fa66884cfb08809ac0dcba8b (diff) | |
download | servo-ebe3295424a4e2895657ef0defa5c90b4cd16718.tar.gz servo-ebe3295424a4e2895657ef0defa5c90b4cd16718.zip |
Auto merge of #8943 - pcwalton:font-cache-addresses, r=mbrubeck
Cache font style struct addresses in a separate font group cache.
On http://en.wikipedia.org/wiki/Spotted_hyena, I was seeing a 100% miss
rate in the first fast cache lookup and 45% of total layout time in this
function. After making this change, the first cache lookup almost always
succeeds, and the time spent in this function drops to 8%.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8943)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/processinginstruction.rs')
0 files changed, 0 insertions, 0 deletions