Subject: Re: lib/31425 (realloc(3) is inefficent)
To: None <lib-bug-people@netbsd.org, netbsd-bugs@netbsd.org,>
From: None <yamt@netbsd.org>
List: netbsd-bugs
Date: 10/16/2007 15:55:32
Synopsis: realloc(3) is inefficent
State-Changed-From-To: open->closed
State-Changed-By: yamt@netbsd.org
State-Changed-When: Tue, 16 Oct 2007 15:55:31 +0000
State-Changed-Why:
% time LD_PRELOAD=./libc.so.12.153 ./realloc
u 14.77s s 19.30s e 34.08s maj 0 min 2092721 in 0 out 0
% time ./realloc
u 5.42s s 0.65s e 6.08s maj 0 min 70486 in 0 out 0
% uname -a
NetBSD nfskuro 4.99.33 NetBSD 4.99.33 (b.trunk) #18: Tue Oct 16 22:49:03 JST 200
7 takashi@nfskuro:/home/takashi/work/kernel/b.trunk amd64
%
% time ./realloc.linux
u 5.18s s 0.38s e 5.57s maj 0 min 63685 in 0 out 0
% uname -a
Linux foo 2.6.23-rc8-mm2 #20 SMP Tue Oct 16 12:10:39 JST 2007 x86_64 GNU/Linux
%
(./libc.so.12.153 is an old version of libc.)