To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=70496 Issue #|70496 Summary|10%+ cold-start slowdown: font cache Component|gsl Version|680m184 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|pl Reported by|mmeeks
------- Additional comments from [EMAIL PROTECTED] Mon Oct 16 13:40:24 -0700 2006 ------- So - the patch is obvious; I attach an old-style pspfontcache - if you have one of these, we go statting all font files on startup -every- startup, which is hideously badly performing. --- psprint/source/fontmanager/fontcache.cxx 19 Jun 2006 10:23:36 -0000 1.22 +++ psprint/source/fontmanager/fontcache.cxx 16 Oct 2006 20:34:26 -0000 @@ -275,6 +277,7 @@ void FontCache::read() #if OSL_DEBUG_LEVEL >1 fprintf( stderr, "FontCache::read: cache file %s fails magic test\n", ByteString( m_aCacheFile, osl_getThreadTextEncoding() ).GetBuffer() ); #endif + m_bDoFlush = true; return; } Matthias - any chance you can do some design for a private API you'd accept into SAL that we could use to add debug assertions for this sort of thing: SAL_NEVER_DURING_STARTUP, SAL_ONLY_FIRST_TIME_EVER, or whatever ? - it's painful to ship product with this kind of regression. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]