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

Beat YAJL and Apple JSON in samsoffes' benchmark for writing #9

Closed
stig opened this issue Sep 25, 2010 · 11 comments
Closed

Beat YAJL and Apple JSON in samsoffes' benchmark for writing #9

stig opened this issue Sep 25, 2010 · 11 comments

Comments

@stig
Copy link
Collaborator

stig commented Sep 25, 2010

No description provided.

@soffes
Copy link
Contributor

soffes commented Sep 28, 2010

I approve of this issue :D

@stig
Copy link
Collaborator Author

stig commented Oct 25, 2010

This is currently a reality, at least on my machine. (Not through sheer luck, by the way; the new code backed by SBJsonStreamWriter class is nearly twice as fast as the old one in the benchmark.)

@soffes
Copy link
Contributor

soffes commented Oct 25, 2010

For me Apple JSON beats you by 0.5ms (even though it is you :)

@stig
Copy link
Collaborator Author

stig commented Oct 25, 2010

Really? What are you running on? My run is on a 2009-edition iMac... Are you running on a phone?

Did you pull in my latest patch to your benchmarks for your test run?

@soffes
Copy link
Contributor

soffes commented Oct 25, 2010

Didn't pull the latest. You're crushing it by a whole ms! :D

@stig
Copy link
Collaborator Author

stig commented Oct 25, 2010

My work here is done ;p

@soffes
Copy link
Contributor

soffes commented Oct 25, 2010

You're awesome. Now time to beat JSONKit :)

@stig
Copy link
Collaborator Author

stig commented Oct 26, 2010

I want to improve the parser first.

@stig stig reopened this Jun 6, 2011
@stig
Copy link
Collaborator Author

stig commented Jun 6, 2011

Refactorings to the library made the code much cleaner but, alas, a bit slower.

@stig
Copy link
Collaborator Author

stig commented Jul 1, 2011

We now beat YALJ for writing.

@stig stig closed this as completed Jul 1, 2011
@soffes
Copy link
Contributor

soffes commented Jul 1, 2011

Great work @stig! I'll update benchmarks!

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

2 participants