diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-12-11 15:40:21 -0500 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-12-11 15:43:32 -0500 |
commit | b31a3b3883442095fa66884cfb08809ac0dcba8b (patch) | |
tree | 0f10b2bd3c4f381316cd2ddf3ebcd4696d23bb25 /components/script/dom/xmlhttprequesteventtarget.rs | |
parent | d6708a2fea41f3078b33e1297a29aac192f5765d (diff) | |
download | servo-b31a3b3883442095fa66884cfb08809ac0dcba8b.tar.gz servo-b31a3b3883442095fa66884cfb08809ac0dcba8b.zip |
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%.
Diffstat (limited to 'components/script/dom/xmlhttprequesteventtarget.rs')
0 files changed, 0 insertions, 0 deletions