Benchmarks: Linux Registry (from the author)

Behdad Esfahbod behdad at cs.toronto.edu
Sat Apr 17 01:08:00 BST 2004


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



More information about the kde-core-devel mailing list