Closed Bug 151907 Opened 23 years ago Closed 23 years ago

need to remove accidental check in of slower code

Categories

(Core Graveyard :: GFX, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ftang, Assigned: nhottanscp)

References

()

Details

(Keywords: intl)

Attachments

(3 files)

somehow Mar 12 14:36 I accidentially land code which does not r=/sr= in mozilla/ gfx/ src/ mac/ nsUnicodeRenderingToolkit.cpp (1.33) the Point penLoc; ::GetPen(&penLoc); oWidth = penLoc.h - x; somehow got replaced by my experiemental code oWidth = ::TextWidth(buf, 0, aLen); We should change it back because TextWidth is slower This change do not have any impact on the prescion of the measurement but have impact on performance
Blocks: 141008
Keywords: intl, nsbeta1+
reassign to nhotta. naoki, thank you thank you thank you thank you...
Assignee: ftang → nhotta
Result without the patch Avg. Median : 961 msec Minimum : 347 msec Average : 977 msec Maximum : 2890 msec Result with the patch Avg. Median : 963 msec Minimum : 397 msec Average : 978 msec Maximum : 2844 msec
Would this be better in Layout or Internationalization than Browser-General?
Comment on attachment 88551 [details] [diff] [review] patch to remove the unintended check in sr=sfraser
Attachment #88551 - Flags: superreview+
Moving bug to the GFX component.
Component: Browser-General → GFX Compositor
the bit question is should we check this into branch ? Is that worthy with the number here ? We should land into trunk for sure.
Comment on attachment 88551 [details] [diff] [review] patch to remove the unintended check in let's land this into trunk and forget about branch
Attachment #88551 - Flags: review+
checked in to the trunk
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: