[Numpy-discussion] python numpy code many times slower than c++
Thu Jan 22 01:46:11 CST 2009
I have been using your profiler extensively and it has contributed to my
achieving significant improvements in the application I work on largely due
to the usefulness of the line by line breakdown enabling me to easily select
the next part of code to work on optimizing. So firstly many thanks for
However back to my point, Wes, I have also experienced timing oddities, in
particular on Virtual machines (MS Hyper-V has very poor processor timings,
the older MS VM works fine though). I believe the negative timings arise
when the CPU (be it virtual or possibly physical) deviates from its standard
performance or rather the initial timer unit taken, would this make sense to
2009/1/21 Robert Kern <firstname.lastname@example.org>
> On Wed, Jan 21, 2009 at 12:13, Wes McKinney <email@example.com> wrote:
> > Robert-- this is a great little piece of code, I already think it will be
> > part of my workflow. However, I seem to be getting negative % time taken
> > the more time consuming lines, perhaps getting some overflow?
> That's odd. Can you send me the code (perhaps offlist) or at least the
> .lprof file?
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
> -- Umberto Eco
> Numpy-discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion