Skip to content
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

Performance #58

Open
owensd opened this issue May 26, 2017 · 0 comments
Open

Performance #58

owensd opened this issue May 26, 2017 · 0 comments
Assignees

Comments

@owensd
Copy link
Owner

owensd commented May 26, 2017

Number parsing performance is ok:

NSJONSerialization:
performance results: min: 10.716ms, max: 17.004ms, avg: 11.802ms

JSONLib:
performance results: min: 7.801ms, max: 20.115ms, avg: 8.418ms

From this file: https://github.com/chadaustin/sajson/blob/master/testdata/mesh.json

String parsing performance is terrible:

NSJONSerialization:
performance results: min: 4.687ms, max: 9.183ms, avg: 5.242ms

JSONLib:
performance results: min: 24.347ms, max: 36.947ms, avg: 26.928ms

From this file: https://github.com/chadaustin/sajson/blob/master/testdata/twitter.json

In addition to having an arbitrary depth limit, some of this needs to be revisited.

@owensd owensd self-assigned this May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant