[Numpy-discussion] extracting a random subset of a vector

Chris Barker Chris.Barker at noaa.gov
Tue Sep 7 11:24:45 EDT 2004

Curzio Basso wrote:

> a question about the method: isn't a bit risky to use the clock() for 
> timing the performance? The usual argument is that CPU allocates time 
> for different processes, and the allocation could vary. 

that's why I use time.clock() rather than time.time().

>That's why I  used the profiler.

For order of magnitude estimates, any of these works fine.


Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov

More information about the NumPy-Discussion mailing list