Re: Performance with keyed archives
Re: Performance with keyed archives
- Subject: Re: Performance with keyed archives
- From: Steven Kramer <email@hidden>
- Date: Fri, 26 Nov 2004 19:02:57 +0100
Op 25-nov-04 om 20:33 heeft Will Mason het volgende geschreven:
Fire up Shark to sample what is going on.
Thanks for the advice. I did Shark it, and my code doesn't appear on
the profile list when sorted according to time spent until item number
30, consuming a whopping 0.1% of the app's time. Everything that's
slowing my app down is from CoreFoundation.
I think I will file a bug, since when the new, fancy version of
something is 121 times slower than the old, stinky version, then
something is wrong.
Or the new version does a lot more than the old version, as is the case
here.
That said, someone did write a marginally faster version of
NSKeyedArchiver...please Google for it, because I lost the link months
ago. When I say marginally, I mean about 2x as fast. Which in my case
(like yours), was not enough because over archiving over a few thousand
keys soon becomes impractical with NSKeyedArchiver. It just wasn't made
for that many data.
Regards
Steven Kramer
--
email@hidden
http://sprintteam.com/
Met vriendelijke groeten,
Steven Kramer
--
email@hidden
http://sprintteam.com/
tel:+31 20 7780256
Balistraat 28hs 1094 JM Amsterdam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden