-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to duplicate claimed performance numbers #2
Comments
interesting, will check |
Thanks for pointing this out, numbers in json were out of 2^32 range which were not handled properly. Updated stats, respect for JSONKit speed. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unable to reproduce claimed performance numbers. Timing based on the
twitter_public_timeline.json
file in Sams json-benchmarks, using (approximately)gcc-4.2 -arch x86_64 -DNS_BLOCK_ASSERTIONS -Os
:It's not clear to me how CoreJSON can significantly improve on the times turned in by YAJL-objc. After parsing overhead is accounted for (which
libyajl
handles), the next major contributor to overall parsing time is in object instantiation, which is fairly considerable. This primarily how JSONKit is able to turn in better times than the other major libraries- it has a recently instantiated object cache to significantly reduce this overhead.The text was updated successfully, but these errors were encountered: