JSONKit benchmarks

ios, jsonkit

Solution

You have not done anything wrong.

Things have changed in iOS 6. Apple have greatly improved the performance of `NSJSONSerialization`. When using iOS 6 and up, it is the fastest.

JSONKit has also not been updated in a year. It is falling behind.

Problem

I pulled the code from http://www.bonto.ch/blog/2011/12/08/json-libraries-for-ios-comparison-updated/ and tested it on my local machine. I was surprised by the results and NSJSonSerialization gave much better performance than JSONKit. Has NSJSonSerialization really overtaken JSONKit in terms of speed or did I do something wrong? twitter_timeline.json repeat.json random.json

Original source