[Numpy-discussion] numpy vs numeric benchmarks

Eric Jonas jonas at mwl.mit.edu
Fri Jun 2 09:34:25 EDT 2006


I meant "numeric is slower than numpy", that is, modern numpy (0.9.8)
appears to lose out majorly to numeric. This doesn't make much sense, so
I figured there was something wrong with my benchmark, or my numpy
install, and wanted to check if others had seen this sort of behavior. 
			...Eric 

On Fri, 2006-06-02 at 15:27 +0200, Joris De Ridder wrote:
> 
> On Friday 02 June 2006 14:58, Eric Jonas wrote:
>    [EJ]: Hello! I've been using numeric for a while, and the recent list traffic
>    [EJ]: prompted me to finally migrate all my old code. On a whim, we were
>    [EJ]: benchmarking numpy vs numeric and have been lead to the conclusion that
>    [EJ]: numpy is at least 50x slower; a 1000x1000 matmul takes 16 sec in numpy
>    [EJ]: but 300 ms in numeric. 
> 
> You mean the other way around? 
> 
> I also tested numpy vs numarray, and numarray seems to be roughly 3 times
> faster than numpy for your particular testcase.
> 
> J.
> 
> 
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
> 
> 
> 
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion





More information about the NumPy-Discussion mailing list