Closed Bug 524865 Opened 15 years ago Closed 13 years ago

DebugPrintAllKeyboardLayouts is 80% of startup time

Categories

(Core :: Widget: Cocoa, defect)

x86
macOS
defect
Not set
blocker

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: jruderman, Assigned: masayuki)

References

Details

(Keywords: dogfood)

DebugPrintAllKeyboardLayouts adds 20s to my normally 5s startup time (on a 1.8GHz Mac Mini).  Please make it ifdef DEBUG_KEYBOARD_LAYOUTS or dependent on a prlogging env var or something.
This was made debug-only in bug 517549, I think.
(In reply to comment #1)
> This was made debug-only in bug 517549, I think.

Yes.
This adds 20s to the startup time of debug builds on some of my machines :(  Rebooting helps a little...
But after a few more days, it's back to taking 15+ seconds.  This is really getting in my way.
The patch of part.13 of bug 519972 will fix this bug.
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
TextInputHandler::DebugPrintAllKeyboardLayouts() outputs only NSPR log, now. If you don't enable the log module, you shouldn't see this bug.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.