• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
readdir vs. getdirentriesattr
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

readdir vs. getdirentriesattr


  • Subject: readdir vs. getdirentriesattr
  • From: Sean Farley <email@hidden>
  • Date: Wed, 10 Dec 2014 16:32:39 -0800

Hello HFS+ devs :-)

I was playing around with trying to speed up the status operation in
mercurial on HFS+ filesystems and heard that getdirentriesattr might be
faster.

From what I could gather (man pages and online resources), it seems the
potential speedup comes from the ability to do a bulk call on the files,
though correct me if I'm wrong.

I posted a proof-of-concept patch here:

http://www.selenic.com/pipermail/mercurial-devel/2014-September/061777.html

But got no real results. Experiments tried included: warm cache vs cold
cache, numbers of files to batch call, and combinations thereof.

Am I missing something obvious or just looking in the wrong place?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: readdir vs. getdirentriesattr
      • From: Eric Tamura <email@hidden>
  • Prev by Date: Re: Virtual hard drive
  • Next by Date: Re: readdir vs. getdirentriesattr
  • Previous by thread: Re: Virtual hard drive
  • Next by thread: Re: readdir vs. getdirentriesattr
  • Index(es):
    • Date
    • Thread