-
Notifications
You must be signed in to change notification settings - Fork 544
Add printing benchmarks and rearrange some things #544
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
Conversation
It's quite interesting that string-based printing is nearly always better. My guess is byte-buffers are faster when the data set is big enough. |
Added a small optimization for JSON arrays ( |
Current coverage is 83.16% (diff: 98.80%)@@ master #544 diff @@
==========================================
Files 71 73 +2
Lines 1981 2043 +62
Methods 1842 1894 +52
Messages 0 0
Branches 139 148 +9
==========================================
+ Hits 1635 1699 +64
+ Misses 346 344 -2
Partials 0 0
|
@travisbrown I was playing with this yesterday and although it doesn't change anything for the benchmarks I wonder if it would make sense to change |
@jonas Makes sense—I've just pushed a new commit with that and a few other little changes. |
First stab at investigating #542, but the results aren't very surprising / helpful: