[Mono-dev] vbnc optimization

Ben Maurer bmaurer at ximian.com
Sat Oct 21 15:08:57 EDT 2006


Hey guys,

Miguel asked me to look in to vbnc's performance this weekend, as it was
pretty slow to bootstrap. I got one quick win today -- it looks like there
are a few calls to Diagnostics.StackTrace in ParsedObject My understanding
is that this stores a stack trace for every token in vbnc. Killing this
cut the compiler memory almost in half. The code should probably be off by
default.

One thing I noticed is that I got compilation errors when compiling
without DEBUG. It may be worth trying to get that mode working, so we can
benchmark without all the extra code.

-b




More information about the Mono-devel-list mailing list