Closed Bug 834189 Opened 12 years ago Closed 12 years ago

Seemingly redundant work by textrunui

Categories

(Core :: Layout: Text and Fonts, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 834188

People

(Reporter: glandium, Unassigned)

Details

I noticed that when a was running NSPR_LOG_MODULES=all:5 on my 2000 tabs session: not only are we doing something for text that isn't even displayed, but we do it multiple times. Just starting an aurora build with a fresh profile does this: $ cut -c 27- /tmp/log | sort | uniq -c | sort -nr 29 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 17 weight: 400 width: 0 style: normal TEXTRUN [Know your rights…] ENDTEXTRUN 17 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [K] ENDTEXTRUN 12 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 9 weight: 400 width: 0 style: normal TEXTRUN [Bookmarks] ENDTEXTRUN 12 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 7 weight: 400 width: 0 style: normal TEXTRUN [History] ENDTEXTRUN 12 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 5 weight: 400 width: 0 style: normal TEXTRUN [Tools] ENDTEXTRUN 12 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 4 weight: 400 width: 0 style: normal TEXTRUN [View] ENDTEXTRUN 12 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 4 weight: 400 width: 0 style: normal TEXTRUN [Help] ENDTEXTRUN 12 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 4 weight: 400 width: 0 style: normal TEXTRUN [File] ENDTEXTRUN 12 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 4 weight: 400 width: 0 style: normal TEXTRUN [Edit] ENDTEXTRUN 6 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 7 weight: 400 width: 0 style: normal TEXTRUN [New Tab] ENDTEXTRUN 5 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 17 weight: 400 width: 0 style: normal TEXTRUN [Aurora Start Page] ENDTEXTRUN 4 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 11 weight: 400 width: 0 style: normal TEXTRUN [Connecting…] ENDTEXTRUN 3 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 2 weight: 400 width: 0 style: normal TEXTRUN [Hi] ENDTEXTRUN 3 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [V] ENDTEXTRUN 3 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [T] ENDTEXTRUN 3 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [s] ENDTEXTRUN 3 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [H] ENDTEXTRUN 3 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [F] ENDTEXTRUN 3 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [E] ENDTEXTRUN 3 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [B] ENDTEXTRUN 2 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 6 weight: 400 width: 0 style: normal TEXTRUN [Google] ENDTEXTRUN 2 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN […] ENDTEXTRUN 1 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 6 weight: 400 width: 0 style: normal TEXTRUN [Aurora] ENDTEXTRUN The numbers are an order of magnitude or two higher on my 2000 tabs session: 6895 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 7 weight: 400 width: 0 style: normal TEXTRUN [New Tab] ENDTEXTRUN 6705 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN […] ENDTEXTRUN 2196 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [7] ENDTEXTRUN 2184 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [8] ENDTEXTRUN 1518 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [1] ENDTEXTRUN 1408 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [9] ENDTEXTRUN 1312 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [2] ENDTEXTRUN 1306 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [0] ENDTEXTRUN 1270 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [e] ENDTEXTRUN 1259 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [t] ENDTEXTRUN 1178 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [5] ENDTEXTRUN 1144 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [4] ENDTEXTRUN 1136 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [6] ENDTEXTRUN 1135 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [a] ENDTEXTRUN 1110 (textrunui) fontgroup: ["Sans"] lang: en-us script: 0 len 1 weight: 400 width: 0 style: normal TEXTRUN [3] ENDTEXTRUN 1080 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [l] ENDTEXTRUN 1061 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [o] ENDTEXTRUN 993 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [i] ENDTEXTRUN 622 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [n] ENDTEXTRUN 603 (textrunui) fontgroup: ["Sans"] lang: en-us script: 25 len 1 weight: 400 width: 0 style: normal TEXTRUN [s] ENDTEXTRUN
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.