[Mono-dev] AOT + the osx installer.

Brian Luczkiewicz brian at sooloos.com
Tue Jan 25 16:39:59 EST 2011


When I build mono from source and install on linux, I've noticed that I end
up with .so's next to some of the installed dll's and exe's. This provides a
nice speedup when running compilers/tools from the mono distribution. Now
that we have AOT working on osx, the same optimization makes sense there,
too.

I decided to try this out with mono 2.8.2 on an intel mac. I manually AOT'd:

/Library/Frameworks/Mono.Framework/Versions/Current/lib/mono/*/*.exe
/Library/Frameworks/Mono.Framework/Versions/Current/lib/mono/gac/*/*/*.dll

I have a project that is about 500kloc of C# and builds with gmcs. AOT'ing
the mono distribution as I've described dropped the build time for this
project from 84s to 46s on my c2d macbook pro. This is a 44% speedup!

I'm unsure who owns the OSX build/packaging, but it seems like this should
be a simple change to make since we already do it on linux, and it would be
great to get this kind of performance out of the box.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110125/6cb8307a/attachment.html 


More information about the Mono-devel-list mailing list