Closed Bug 846215 Opened 11 years ago Closed 11 years ago

need to distinguish between chrome/content in word cache hit/miss telemetry data

Categories

(Core :: Graphics: Text, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jtd, Assigned: jtd)

Details

Attachments

(1 file)

Within gfxFont::GetShapedWord we record word cache hits and misses for shaped text.  However, we aggregate both chrome and content text data together.  I did some testing today and I see very different patterns in chrome data compared to content.  So I think we should record telemetry for chrome/content separately.

Examples of the split for some test pages (I cleared the word caches before each load):

http://www.guardian.co.uk/business/2013/feb/28/european-union-cap-bankers-bonuses
content-word-cache hits: 2215 misses: 1360 hit-ratio: 61.958046
chrome-word-cache hits: 1948 misses: 226 hit-ratio: 89.604416

http://www.guardian.co.uk/world/2013/feb/27/greece-blames-drug-companies-shortages
content-word-cache hits: 18709 misses: 6161 hit-ratio: 75.227180
chrome-word-cache hits: 1402 misses: 144 hit-ratio: 90.685638

http://ko.wikipedia.org/wiki/%ED%95%9C%EA%B5%AD%EC%96%B4
content-word-cache hits: 1588 misses: 2794 hit-ratio: 36.239159
chrome-word-cache hits: 544 misses: 79 hit-ratio: 87.319420

http://mobic530.blog61.fc2.com/
content-word-cache hits: 294 misses: 858 hit-ratio: 25.520834
chrome-word-cache hits: 421 misses: 77 hit-ratio: 84.538147

https://twitter.com/search?q=%E3%82%AB%E3%83%AC%E3%83%BC&src=typd
content-word-cache hits: 418 misses: 662 hit-ratio: 38.703705
chrome-word-cache hits: 508 misses: 138 hit-ratio: 78.637772
Split hit/miss word cache metrics into separate metrics for content and chrome.
Attachment #719834 - Flags: review?(taras.mozilla)
Attachment #719834 - Flags: review?(taras.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/6debc7c14ffd
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: