[Mono-osx] ASP.NET compilation spends a huge time in libfreetype
Francois Rouaix
francois.rouaix at gmail.com
Mon Sep 27 19:10:58 EDT 2010
Hello folks,
I'm debugging an ASP.NET app on my Mac with mod_mono and was surprised with a very high (2 minutes) initial compile time for the first page displayed. This is a fairly simple app, which very little logic in ASP.NET pages themselves (most of the code is in DLL).
I ran Instruments on the Mono process running mod-mono-server2 and discovered that the top consumers of CPU are TT_Load_Simple_Glyph from libfreetype (12 seconds) and inflate_fast in the kernel (8 seconds) - which I presume has to do with font file decompression of font files.
I'm running 2.6.7.
Any clue of why I should be spending 20 seconds in reading font files for a web app? (the total cost is most likely much high due to IO on all the fonts).
--f
More information about the Mono-osx
mailing list