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.
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.
6 years ago
The patch of part.13 of bug 519972 will fix this bug.
TextInputHandler::DebugPrintAllKeyboardLayouts() outputs only NSPR log, now. If you don't enable the log module, you shouldn't see this bug.