On Sun, Jul 26, 2009 at 8:04 PM, Aaron Burghardt<aaron.burgha...@gmail.com> wrote: > Interesting and not surprising. What I was suggesting, though, is that the > amount of time needed to read the data is probably small compared to the > time spent parsing the data into a plist.
Good point. So I ran a second test. Turns out CF is still your best option for sucking in the data. But for the parsing, NSPropertyListSerialization is somewhat faster. So, using a mixed up method, you get a slightly better result. The difference is negligible, but still... 2009-07-26 23:34:58.381 tst[91885:10b] CF: Read data in 0.017413 seconds 2009-07-26 23:34:59.385 tst[91885:10b] NS: Read data in 0.021142 seconds 2009-07-26 23:35:00.382 tst[91885:10b] CF: Read data in 0.018322 seconds 2009-07-26 23:35:01.406 tst[91885:10b] NS: Read data in 0.042197 seconds 2009-07-26 23:35:02.381 tst[91885:10b] CF: Read data in 0.017629 seconds 2009-07-26 23:35:03.384 tst[91885:10b] NS: Read data in 0.020038 seconds 2009-07-26 23:44:25.146 tst[93798:10b] CF: Parsed data in 0.560710 seconds 2009-07-26 23:44:26.091 tst[93798:10b] NS: Parsed data in 0.505121 seconds 2009-07-26 23:44:27.195 tst[93798:10b] CF: Parsed data in 0.609571 seconds 2009-07-26 23:44:28.082 tst[93798:10b] NS: Parsed data in 0.496928 seconds 2009-07-26 23:44:29.080 tst[93798:10b] CF: Parsed data in 0.494216 seconds 2009-07-26 23:44:30.076 tst[93798:10b] NS: Parsed data in 0.490349 seconds 2009-07-26 23:44:31.153 tst[93798:10b] CF: Parsed data in 0.567589 seconds 2009-07-26 23:44:32.077 tst[93798:10b] NS: Parsed data in 0.491887 seconds Cheers. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com