Re: [math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-02-02 Thread Peter A
All, I posted the new stability and runtime performance benchmarks at: http://code.google.com/p/java-matrix-benchmark This includes the 2.1a SVN code from last Friday. I don't really see much of a change since 2.0. If a commons-math developer has some time it would be helpful if he/she/it

Re: [math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-02-02 Thread Luc Maisonobe
Peter A a écrit : All, I posted the new stability and runtime performance benchmarks at: http://code.google.com/p/java-matrix-benchmark This includes the 2.1a SVN code from last Friday. I don't really see much of a change since 2.0. From a pure performance point, there should not be

Re: [math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-02-02 Thread Peter A
Luc, Do you think this would be fair? For posting official benchmark results using MatrixUtils.createRealMatrix() to declare the matrices. I'm not a huge fan of having multiple results for a single library if it can be avoided. I'm worried about needing to benchmark every permutation that each

Re: [math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-02-02 Thread Luc Maisonobe
Peter A a écrit : Luc, Do you think this would be fair? For posting official benchmark results using MatrixUtils.createRealMatrix() to declare the matrices. I think this could be a good approach. This way official benchmak would reflect what users would really experience. If the simplistic

[math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-01-29 Thread Luc Maisonobe
Peter A a écrit : Hello, I'm working on a benchmark tool for linear algebra libraries in Java that measures runtime performance and stability. I have run the 2.0 library thought it and posted the results online at: http://code.google.com/p/java-matrix-benchmark/ I think that the

Re: [math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-01-29 Thread Ted Dunning
Already the performance is impressive. Kudos! On Fri, Jan 29, 2010 at 12:52 PM, Luc Maisonobe luc.maison...@free.frwrote: I think that the developers of this library might find those results interesting. In addition, feedback on the benchmark itself and how I'm evaluating commons math

Re: [math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-01-29 Thread Weijian Fang
Hi, Great job! BTW, I am just curious if there is any performance comparison between Java math lib and C/C++ math lib? After so many years, people are still suspicious about Java's performance, particularly in the numerical computing area. Cheers, Weijian On 29 January 2010 20:58, Ted

Re: [math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-01-29 Thread Peter Abeles
Thanks. I have seen some adhoc comparisons on-line. Mostly just matrix multiply. Having said that I wouldn't be surprised if I missed something. Based on personal experience I would expect about a 2-3 times speed hit between well written java and c/c++ code because of array overhead and

Re: [math] Re: [LINEAR] Performance and bugs of 2.0 library

2010-01-29 Thread Ted Dunning
This comparison is also confounded by the fact that most C++ libraries try to make use of native binary libraries such as ATLAS and often get a dramatic speedup as a result. On Fri, Jan 29, 2010 at 4:55 PM, Peter Abeles peter.abe...@gmail.comwrote: I have seen some adhoc comparisons on-line.