Profiling shouldn't require any code changes or command line switches.
The JVM has hooks for profiling built in
(http://java.sun.com/j2se/1.4.2/docs/guide/jvmpi/jvmpi.html) which
tools like JProfiler use. (I personally love JProfiler but there are
free options too, like the one built into Netbeans.)

Are we talking about the same kind of profiling I wonder...

On Tue, Jun 30, 2009 at 1:43 PM, Robin Anil<[email protected]> wrote:
> Dear Mahouter,
>
> Mahout 124 is coming up nicely. To tune it further I was thinking about
> Profiling the code. For Map/Reduce Jobs there is Vaidya the new Job Profiler
> where i can put counters. For non Map/Reduce code, i wanted to know the best
> way to put profiling code and switch then on and off with a command line
> switch/config.
>
> Any thoughts on this
>
> Robin
>

Reply via email to