Closed
Bug 36145
Opened 25 years ago
Closed 17 years ago
GetWidth optimizations need to be implemented on Mac (text measurement performance)
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.5alpha
People
(Reporter: sfraser_bugs, Assigned: sfraser_bugs)
References
Details
(Keywords: perf, platform-parity)
troy implemented a version of nsRenderingContext::GetWidth that measures text in
larger chunks, for performance reasons. This needs to be implemented on Mac too.
Blocks: incrementalxml
Comment 2•25 years ago
|
||
add cc garywade@desisoftsystems.com
This bug has been marked "future" because the original netscape engineer working
on this is over-burdened. If you feel this is an error, that you or another
known resource will be working on this bug,or if it blocks your work in some way
-- please attach your concern to the bug for reconsideration.
Comment 6•25 years ago
|
||
Reassigned to Gary Wade who doesn't look as doomed as we are.
Assignee: waqar → garywade
Status: ASSIGNED → NEW
Updated•25 years ago
|
Status: NEW → ASSIGNED
Keywords: pp
Comment 7•25 years ago
|
||
gary no longer work for us. reassing to ftang
Assignee: garywade → ftang
Status: ASSIGNED → NEW
Comment 9•24 years ago
|
||
Frank, considering how much of an improvment this made on Windows I'd love to see
it make it into the Mac sooner rather than later.
Assignee: ftang → sdagley
Status: ASSIGNED → NEW
Target Milestone: Future → mozilla0.9
Updated•24 years ago
|
Target Milestone: mozilla0.9 → mozilla0.9.1
Comment 10•24 years ago
|
||
Setting target milestone to 0.9.2 (check it in anytime, even before, when the
tree is open for). Per PDT triage.
Target Milestone: mozilla0.9.1 → mozilla0.9.3
Comment 11•24 years ago
|
||
After discussion with ftang this isn't considered a significant performance
improvement on Mac (based on the different costs of text measurment on windows
and some work gary wade had done on the Mac) and is back to being FUTURE'd. If
we revisit this again we should see if gary still has the code he worked on as
the drop he gave ftang can't be found.
Target Milestone: mozilla0.9.3 → Future
Summary: GetWidth optimizations need to be implemented on Mac → GetWidth optimizations need to be implemented on Mac (text measurement performance)
Assignee | ||
Comment 12•23 years ago
|
||
This will be big for ATSUI rendering. Taking.
Assignee: sdagley → sfraser
Keywords: helpwanted
Summary: GetWidth optimizations need to be implemented on Mac (text measurement performance) → GetWidth optimizations need to be implemented on Mac
Target Milestone: Future → mozilla1.0
Summary: GetWidth optimizations need to be implemented on Mac → GetWidth optimizations need to be implemented on Mac (text measurement performance)
See the GTK patch on bug 36146.
Comment 14•23 years ago
|
||
Sorry, I lost that code some time ago when my hard drive had a very bad
crash.
The changes I coded only provided a minimal speed-up since they were
within the context of the cross-platform calls. What they did was to cache
the ATSUI measurements of each GetWidth call.
If the current minimum OS requirements provide it, two better calls to use
now would be ATSUGlyphGetScreenMetrics (only on 9.1 and later) and
ATSUGetGlyphBounds (only on 8.6 and later). If these APIs are in the
underlying system, they should provide the needed functionality to
increase the performance as desired.
Assignee | ||
Comment 15•23 years ago
|
||
Attachment 75538 [details] [diff] in bug 121540 contains an implementation of the GetWidth
optimization for Mac QuickDraw, and ATSUI. In my tests, this gave us a pageload
boost of about 5%.
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Target Milestone: mozilla1.1alpha → mozilla1.5alpha
Comment 17•22 years ago
|
||
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by mozilla.org. Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.
I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".
OS: Mac System 8.5 → MacOS X
Updated•21 years ago
|
Component: Layout → Layout: Fonts and Text
Roc, is this done?
Pretty much, yeah. I'll mark it FIXED.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•