Re: Benchmarks: Linux Registry (from the author)
- From: Behdad Esfahbod <behdad cs toronto edu>
- To: Waldo Bastian <bastian kde org>
- Cc: Avi Alkalay <avi unix sh>, gnome-devel-list gnome org, kde-core-devel kde org, gconf-list gnome org, xdg freedesktop org, registry-list lists sourceforge net
- Subject: Re: Benchmarks: Linux Registry (from the author)
- Date: Fri, 16 Apr 2004 20:08:00 -0400
On Fri, 16 Apr 2004, Waldo Bastian wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat April 17 2004 01:00, Avi Alkalay wrote:
> > # Will list, read (open()) and parse all comments and
> > # values for keys under 'system' namespace (1010 keys)
> > bash#
> > bash# time rg ls -Rv system > /dev/null
> >
> > real 0m0.211s
> > user 0m0.140s
> > sys 0m0.070s
>
> And now please try again with a cold disk-cache.
Even with a cold cache, it makes a big difference that all files
are generated recently and placed sequentially on the disk
perhaps.
> For comparison, KConfig takes < 10ms here to read 1330 entries from two
> kdeglobals file.
>
> Cheers,
> Waldo
--behdad
behdad.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]