Thanks! I'll take a look.... BTW, when benchmarking GCL, it is often useful to make use of the builtin gprof interface. On a linux box with a gcl .deb installed, you can get a profiling image with export GCL_PROF=t. When building from source, ./configure ... --enable-gprof. The profiling images are of course slower, but reveal bottlenecks.
Build maxima atop a profiling image, then (%i1) :lisp (si::gprof-start) (%i2) .... (%i3) :lisp (si::gprof-quit) Take care, Gunter Königsmann <[email protected]> writes: > Perhaps you might want to have the test file I have used for my measurements. > Did add it in both .wxmx and .mac format. > > Kind regards, > > Gunter. > > On Fr, Nov 13, 2015 at 7:48 , Robert Dodier <[email protected]> wrote: > > On 2015-11-13, Gunter Königsmann <[email protected]> wrote: > > - read_matrix() was slow reading files with >10k data lines. Don't > know if it will be higher when using a more current release of gcl than > the one that was bundled with the gcl installers; On windows the > reading speed seems to be greatly influenced by the function used for > doing file I/O. > > The function read_matrix and friends are written in a pretty naive way. I > wouldn't be surprised if they could be improved. I would really like > for Maxima to be able to read data files (and 10k lines is pretty small > these days so that's a disappointment) so if you can investigate a > little bit to say which functions are faster and which are slower, > perhaps we can see where is the bottleneck in the slow functions and improve > that. best Robert Dodier > ------------------------------------------------------------------------------ > _______________________________________________ Maxima-discuss mailing > list [email protected] https://lists.sourceforge.net/ > lists/listinfo/maxima-discuss > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Maxima-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/maxima-discuss -- Camm Maguire [email protected] ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah _______________________________________________ Gcl-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gcl-devel
