As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 524865 - DebugPrintAllKeyboardLayouts is 80% of startup time
: DebugPrintAllKeyboardLayouts is 80% of startup time
: dogfood
Product: Core
Classification: Components
Component: Widget: Cocoa (show other bugs)
: Trunk
: x86 Mac OS X
: -- blocker (vote)
: mozilla8
Assigned To: Masayuki Nakano [:masayuki]
: Markus Stange [:mstange]
Depends on: 519972
  Show dependency treegraph
Reported: 2009-10-27 18:07 PDT by Jesse Ruderman
Modified: 2011-07-20 19:13 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Jesse Ruderman 2009-10-27 18:07:04 PDT
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.
Comment 1 User image Jesse Ruderman 2009-10-27 18:16:19 PDT
This was made debug-only in bug 517549, I think.
Comment 2 User image Masayuki Nakano [:masayuki] 2009-10-27 19:04:21 PDT
(In reply to comment #1)
> This was made debug-only in bug 517549, I think.

Comment 3 User image Jesse Ruderman 2009-10-28 14:21:57 PDT
This adds 20s to the startup time of debug builds on some of my machines :(  Rebooting helps a little...
Comment 4 User image Jesse Ruderman 2009-11-09 15:00:01 PST
But after a few more days, it's back to taking 15+ seconds.  This is really getting in my way.
Comment 5 User image Masayuki Nakano [:masayuki] 2011-06-13 23:23:37 PDT
The patch of part.13 of bug 519972 will fix this bug.
Comment 6 User image Masayuki Nakano [:masayuki] 2011-07-20 19:13:17 PDT
TextInputHandler::DebugPrintAllKeyboardLayouts() outputs only NSPR log, now. If you don't enable the log module, you shouldn't see this bug.

Note You need to log in before you can comment on or make changes to this bug.