Harald There seems to be definitely a problem
Just tried it on sage.math sage: %time random_matrix(RDF, 10000) took over 2mins (!!!!) tic; m = randn(100,100); toc took 0.0003 secs! On Feb 19, 12:05 am, Harald Schilly <harald.schi...@gmail.com> wrote: > Hi, I did some benchmarks and during that i noticed that it takes > quite long to create a random_matrix. Is there something obvious I'm > missing or is there a better way to do this? Ticket? > > Benchmark Matlab 2009a vs. Sage 4.3.2: > > tic; m = randn(s,s); toc > Elapsed time is 0.060981 seconds. > > sage: %time m = random_matrix(RDF, 1000) > CPU times: user 1.77 s, sys: 0.01 s, total: 1.78 s > Wall time: 1.78 s > > That's a factor of 30x! > > H -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org