TL;DR: Custom serialization proposed here is ~2x faster than Cocoa Archive Framework.
Results are here.
Companion code for this article is on GitHub
Applying the findings of my last benchmark comparing Core Data and File System storage, I went with a similar solution on a recent project where I didn’t need all the firepower in Core Data. The twist this time, however, was that instead of simply storing a key-value pair
(NSString, NSDate), I needed to store instances of a class that had multiple fields, indexed by one of its fields —