Re: [RFC/PATCH] Nonotify - A simplistic way to determine directory content changes
- From: John McCutchan <ttb tentacle dhs org>
- To: nf2 scheinwelt at
- Cc: Nautilus mailing <nautilus-list gnome org>, alexl redhat com
- Subject: Re: [RFC/PATCH] Nonotify - A simplistic way to determine directory content changes
- Date: Thu, 03 Jun 2004 08:34:14 -0400
On Tue, 2004-06-01 at 22:52, nf wrote:
> Ok. Here is my nonotify benchmark:
>
> first i created a list of all the directories in my /usr dir.
>
> $ find /usr -type d > dirlist.txt
>
> $ cat -n tells me that it's 13625 directories.
>
> then i run the attached program nonotify_bench.c with dirlist.txt.
> The program calls stat() on every entry of dirlist.txt.
>
> $ ./nonotify_bench dirlist.txt
After running find, all of these directories are cached. So again you
are only measuring system call time. Run this with a cold cache after a
reboot.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]