• 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
Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")


  • Subject: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • From: Charles Srstka <email@hidden>
  • Date: Sat, 10 Apr 2004 02:34:16 -0500

On Apr 9, 2004, at 6:32 PM, Daniel Waylonis wrote:

Hi Alastair,

You might have better luck with fts() (man fts) on the Posix side. I
did some testing against FSGetCatalogInfoBulk() (the fastest) and found
that it was pretty close in performance.

Scanning "/Library/Developer":

fts 8675 Directories, 51908 files (7.8 sec - 13.9 sec)
FSGetCatalogInfoBulk 8674 Directories, 55678 files (2.9 sec - 3.3 sec)
(128 directory entries at a time)

Pretty close in performance? It looks like fts is taking anywhere from 2.6 to over 4 times as long. That's a bigger difference than what Alastair posted between FSCatalogSearch and the BSD API's.

Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update") (From: mathew <email@hidden>)
 >Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update") (From: Alastair Houghton <email@hidden>)
 >Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update") (From: Daniel Waylonis <email@hidden>)

  • Prev by Date: Re: [OT] Software Piracy
  • Next by Date: Re: [OT] Software Piracy
  • Previous by thread: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • Next by thread: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • Index(es):
    • Date
    • Thread