Re: [Numpy-discussion] line_profiler suggestion

2009-01-21 Thread Robert Kern
On Wed, Jan 21, 2009 at 15:44, Robert Kern wrote: > On Wed, Jan 21, 2009 at 15:35, Neal Becker wrote: >> Robert Kern wrote: >> >>> On Wed, Jan 21, 2009 at 15:13, Neal Becker wrote: Would be handy to not have to add/remove @profile to switch between profiling/normal operation.

Re: [Numpy-discussion] line_profiler suggestion

2009-01-21 Thread Robert Kern
On Wed, Jan 21, 2009 at 15:35, Neal Becker wrote: > Robert Kern wrote: > >> On Wed, Jan 21, 2009 at 15:13, Neal Becker wrote: >>> Would be handy to not have to add/remove @profile to switch between >>> profiling/normal operation. >>> >>> When run without profiler, @profile is redefined to do noth

Re: [Numpy-discussion] line_profiler suggestion

2009-01-21 Thread Neal Becker
Robert Kern wrote: > On Wed, Jan 21, 2009 at 15:13, Neal Becker wrote: >> Would be handy to not have to add/remove @profile to switch between >> profiling/normal operation. >> >> When run without profiler, @profile is redefined to do nothing. >> Possible? > > I could add a --noop flag to kernpr

Re: [Numpy-discussion] line_profiler suggestion

2009-01-21 Thread Robert Kern
On Wed, Jan 21, 2009 at 15:13, Neal Becker wrote: > Would be handy to not have to add/remove @profile to switch between > profiling/normal operation. > > When run without profiler, @profile is redefined to do nothing. Possible? I could add a --noop flag to kernprof, which basically tells it to i

[Numpy-discussion] line_profiler suggestion

2009-01-21 Thread Neal Becker
Would be handy to not have to add/remove @profile to switch between profiling/normal operation. When run without profiler, @profile is redefined to do nothing. Possible? ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.sci