[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: malloc performance
From:       Lubos Lunak <l.lunak () sh ! cvut ! cz>
Date:       2002-02-14 19:30:29
[Download RAW message or body]

On Thu 14. February 2002 19:47, Alex Zepeda wrote:
> On Thu, Feb 14, 2002 at 07:43:17PM +0100, Lauri Watts wrote:
> > I already asked PHK, and while I don't think ability is at question,
> > time is.
>
> Errr.. I was referring to the present phkmalloc featured in libc.  AFAIK
> it's quite a bit more optimized than what's in glibc.

 Yes, it's better than the one in glibc-2.2.x, but not as good the one that 
will be in glibc-2.3 (at least according to some tests Lauri did).

>
> > He says there is no objection to us implementing it internally, and said
> > it's probably a good idea, at least for now.
>
> I'd still like to see some becnhmarks tho.

 Feel free to try yourself, just do what I did. Download 
http://dforce.sh.cvut.cz/~seli/download/malloc.tar.bz2 ,  do 'make lealib', 
and run e.g. Konqueror, once normally, once with the library LD_PRELOAD-ed. 
Then go to some large HTML page, e.g. $QTDIR/doc/html/functions.html and 
measure the time between hitting Reload and when the page is finished. Unless 
you have a fast computer, you wristwatch may be enough to see the difference.

[snip]

-- 
 Lubos Lunak
 llunak@suse.cz ; l.lunak@kde.org
 http://dforce.sh.cvut.cz/~seli
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic