[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: profiler and/or debugger, loops vs vectorization

From: David Grohmann
Subject: Re: profiler and/or debugger, loops vs vectorization
Date: Fri, 30 Jun 2006 18:54:25 -0500
User-agent: Thunderbird (Windows/20060516)

Shai Ayal wrote:
you can sprinkle your code with tic/toc pairs ...


Thanks I'm completely new to matlab/octave. I was able to use tic/toc to find the worst spots, and through my limited vectorization skills got a 45 second loop down to 0.05 seconds. So it appears the problems are merely that of vectorization. Though unfortunately the worst loop is probably not possible to vectorize by any human. So we will probably be making an .oct file for that loop and just do it in C.

I would still like to know if there are any attempts at a debugger/profiler for octave.


David Grohmann
Senior Student Associate
Applied Research Lab : UT Austin : ESL - S206
Office: 512-835-3237

reply via email to

[Prev in Thread] Current Thread [Next in Thread]