z*****g 发帖数: 102 | 1 I tested them by sort a vector with the length 10000000.
I generated the vector by using the normal variable first, and
then sort it.
Here is the result by using gsl:
real 0m28.137s
user 0m23.945s
sys 0m0.284s
while it took only 5 seconds for the matlab to run.
Of course, this is only one of the tests. Has anyone done this before?
BTW:I am a big fan of the open source, but I really want to know which tools
is
more efficient for me.
Any comment is appreciated. | p*****e 发帖数: 310 | 2 did you turn on optimization for compiling your gsl? For example, if you
didn't define NDEBUG, it will be much slower.
tools
【在 z*****g 的大作中提到】 : I tested them by sort a vector with the length 10000000. : I generated the vector by using the normal variable first, and : then sort it. : Here is the result by using gsl: : real 0m28.137s : user 0m23.945s : sys 0m0.284s : while it took only 5 seconds for the matlab to run. : Of course, this is only one of the tests. Has anyone done this before? : BTW:I am a big fan of the open source, but I really want to know which tools
|
|