[Mono-devel-list] Using the internal profiler
Michal Moskal
michal.moskal at gmail.com
Tue Jul 26 13:55:00 EDT 2005
On 7/26/05, Hugo Ferreira <bytter at gmail.com> wrote:
> Hi everyone,
>
> Does anyone knows how can I activate/deactivate the profiler for
> certain areas in program execution (like full Classes)? Or for a
> certain timespan? The problem is that I've got an application that
> loads a lot of data to memory (400Mb) and parses it at boostrap (about
> 30s of initialization time). Profiling this section takes literally
> *hours*, and I'm really not interested in it now, so I want to
> activate the profiler ONLY after this bootstrap. Another way of seeing
> things is that I want to start profiling ONLY when the application
> enters a certain method.
You can try this, the overhead shouldn't be bigger than 2x:
http://nemerle.org/svn/nemerle/branches/generics/misc/profiler/
--
Michal Moskal,
http://nemerle.org/~malekith/
More information about the Mono-devel-list
mailing list