[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] [Maxima-discuss] speed of reading data files, was: insta
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] [Maxima-discuss] speed of reading data files, was: installation problems |
Date: |
Sat, 14 Nov 2015 08:49:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
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 <address@hidden> 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 <address@hidden> wrote:
>
> On 2015-11-13, Gunter Königsmann <address@hidden> 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 address@hidden https://lists.sourceforge.net/
> lists/listinfo/maxima-discuss
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Maxima-discuss mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/maxima-discuss
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Gcl-devel] [Maxima-discuss] speed of reading data files, was: installation problems,
Camm Maguire <=