Subject: Re: bin/17466: awk(1), awk vs. gawk
To: NetBSD Bugs and PR posting List <netbsd-bugs@NetBSD.ORG>
From: David Laight <email@example.com>
Date: 07/03/2002 20:21:03
> 7.38s real 0.99s user 1.76s system
> 14.56s real 2.27s user 4.73s system
> 7.92s real 0.52s user 1.81s system
> Welcome to the overhead of ld.so! :-)
I wonder what it is up to (or even how to benchmark it).
Clearly you have to do a VOP_LOOKUP (or whatever netbsd calls it)
for each shared library, but the extra mmap() calls shouldn't
take too long I wouldn't have thought there was that much
O(n) stuff to do....
I wonder how to profile it - would probably be enlightening
(time is often spent where you least expect it!)
Oh, how many libraries are required?
(I guess their (required) pages would be present)
David Laight: firstname.lastname@example.org