Re: NSKeyedArchiver performance
Re: NSKeyedArchiver performance
- Subject: Re: NSKeyedArchiver performance
- From: Michael Latta <email@hidden>
- Date: Thu, 25 Dec 2003 23:09:35 -0800
I was surprised by the time. A recent Java application I am working on
wrote on the order of 200MB of serialized objects (25K in this case and
more complex) in < 100 sec. I meant to ask if this timing was what
others were seeing or if they had experienced large archives with more
reasonable times. I can not ask a user to wait an hour for their data
to be saved, when the I/O would be a small fraction of that time. If
there are any suggestions on how to verify that I did not do something
wacky I would welcome those as well. If others are seeing reasonable
times I would presume it is in my code somewhere, but since the time is
being spent in Cocoa code "flattening" the plist it seemed reasonable
to ask the list for past experience.
Michael
On Dec 23, 2003, at 8:30 AM, Fritz Anderson wrote:
As James Thurber once said, I cannot tell if you are asking a
question, or are just boasting.
-- F
On 22 Dec 2003, at 5:17 PM, Michael Latta wrote:
In a recent application test I saved a file using NSKeyedArchiver for
the document's
- (NSData *)dataRepresentationOfType:(NSString *)aType
The document has about 30K objects in a mutable array with each object
having about 8 objects being encoded each. This resulted in a 15MB
file that took about 1hr to save!! The time seems to be in
finishArchiving.
Michael
_______________________________________________
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.
_______________________________________________
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.