[Mono-devel-list] MCS initialization cost

Ben Maurer bmaurer at ximian.com
Wed Jun 23 15:47:18 EDT 2004


On Wed, 2004-06-23 at 12:30, Joe Ante wrote:
> Hi,
> 
> I am using mcs from an application that embeds the mono runtime.
> The startup cost of mcs seems to be pretty high. Around 1.5 second on my
> tiBook. The startup cost is sort of annoying to me because I am used to
> python as a scripting language where I just save and see the result of
> change in code on screen in less than .2 seconds.

One trick I have used is to do:

GC_DONT_GC=true mcs ...

On small programs that can give you around 10% (of course, it doesn't
work so well as you get large programs because too much memory is used).

-- Ben




More information about the Mono-devel-list mailing list