Last Comment Bug 524865 - DebugPrintAllKeyboardLayouts is 80% of startup time
: DebugPrintAllKeyboardLayouts is 80% of startup time
Status: RESOLVED FIXED
: dogfood
Product: Core
Classification: Components
Component: Widget: Cocoa (show other bugs)
: Trunk
: x86 Mac OS X
: -- blocker (vote)
: mozilla8
Assigned To: Masayuki Nakano [:masayuki] (Mozilla Japan) (Offline: 9/19, 9/22-9/25, 9/28))
:
Mentors:
Depends on: 519972
Blocks:
  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:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

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

Yes.
Comment 3 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 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 Masayuki Nakano [:masayuki] (Mozilla Japan) (Offline: 9/19, 9/22-9/25, 9/28)) 2011-06-13 23:23:37 PDT
The patch of part.13 of bug 519972 will fix this bug.
Comment 6 Masayuki Nakano [:masayuki] (Mozilla Japan) (Offline: 9/19, 9/22-9/25, 9/28)) 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.