DebugPrintAllKeyboardLayouts is 80% of startup time

RESOLVED FIXED in mozilla8

Status

()

Core
Widget: Cocoa
--
blocker
RESOLVED FIXED
8 years ago
6 years ago

People

(Reporter: Jesse Ruderman, Assigned: masayuki)

Tracking

({dogfood})

Trunk
mozilla8
x86
Mac OS X
dogfood
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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.
(Reporter)

Comment 1

8 years ago
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.
(Reporter)

Comment 3

8 years ago
This adds 20s to the startup time of debug builds on some of my machines :(  Rebooting helps a little...
(Reporter)

Comment 4

8 years ago
But after a few more days, it's back to taking 15+ seconds.  This is really getting in my way.
Depends on: 519972
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
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.