guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance issue with guile-2.2


From: Vijay Pratap Chaurasia
Subject: Re: Performance issue with guile-2.2
Date: Wed, 12 Apr 2017 12:58:33 +0530

Hi Thomas,
    Thanks for input and putting the code as attachment. I am consistently
getting bad performance with guile.2.2 even through it is reasonably good
with guile2.1 compare to guile2.0 . I have built guile on RHEL5 platform
using gcc4.4 with large file support (CFLAGS='-D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE') .
I will give a try with recent guile2.2 master and update.

$ export GUILE_LOAD_PATH=/home/guile.2.0.11/share; export
GUILE_LOAD_COMPILED_PATH=/home/guile.2.0.11/lib/guile/2.0/ccache; time
/home/guile.2.0.11/bin/guile -s ./performanceTest.scm
real    0m17.034s
user    0m16.964s
sys     0m0.033s

$ export GUILE_LOAD_PATH=/home/guile.git.20141208/share; export
GUILE_LOAD_COMPILED_PATH=/home/guile.git.20141208/lib/guile/2.2/ccache;
time /home/guile.git.20141208/bin/guile -s ./performanceTest.scm
real    0m15.370s
user    0m15.385s
sys     0m0.043s

$ export GUILE_LOAD_PATH=/home/guile-2.2/share; export
GUILE_LOAD_COMPILED_PATH=/home/guile-2.2/lib/guile/2.2/ccache; time
/home/guile-2.2/bin/guile -s ./performanceTest.scm
real    0m34.904s
user    0m38.178s
sys     0m0.352s


Thanks
Vijay

On Tue, Apr 11, 2017 at 7:52 PM, Thomas Morley <address@hidden>
wrote:

> 2017-04-11 12:28 GMT+02:00 Vijay Pratap Chaurasia <address@hidden>:
> > Hi,
> >      I have a tool which compares live data between two sources. I found
> > that the program runs more than 3 times slower than the same with
> > guile-2.0.11 . I have done profiling but there was nothing special to
> point
> > out. All most all calls were taking more than double the time compare to
> > guile-2.0.11. It is contrary to the claim of 30% performance boost with
> > guile-2.2 release. Can some one point the possible reason for slowness?
> >
> > I have created a simple test program which reports the diff of two alist.
> >
> > *time  /home/guile-2.2/bin/guile -s ./performanceTest.scm*
> > real    0m34.375s
> > user    0m37.616s
> > sys     0m0.361s
> >
> > *time /home/guile-2.0/bin/guile -s ./performanceTest.scm*
> > real    0m18.939s
> > user    0m18.829s
> > sys     0m0.104s
> >
>
> Hi vijay,
>
> I'm from LilyPond, where we have our own problems with every
> guile-2.x, we still use guile-1.8.
> So I'm very interested in performance problems.
>
> Though, I can't confirm your observations.
> Admittedly I used 2.0.14, with this I get:
>
> 2.2.0.17-685ca (built from recent master)
>
> real    0m31.642s
> user    0m33.272s
> sys     0m0.184s
>
> 2.0.14 (built from the released tarball)
>
> real    1m39.361s
> user    1m41.832s
> sys     0m0.224s
>
> Pity it doesn't work for guile-1.8...
>
>
> One other thing, please attach your files, or at least teach your
> e-mail-client not to insert *-signs at every line-break etc.
> Regardless whether there should be a line-break or not.
>
> Reformated versions are attached, if someone else want to check, too.
>
> Cheers,
>   Harm
>



-- 
- vijay


reply via email to

[Prev in Thread] Current Thread [Next in Thread]