Re:Fast, auto-generated streaming JSON parsing for Android
by azinman2 on Wednesday September 10, 2014 @02:07PM
(#8297991)
And look at how slow it still is. 40ms to parse json? I can do that around or under 1ms in iOS. When porting our app to android this was one of the biggest unexpected bottlenecks that really impacts performance. I don't know why android doesn't provide a native json implementation to reduce this barrier to entry.
[ Parent
| on HN ]
Re:Fast, auto-generated streaming JSON parsing for Android
by gsoltis on Wednesday September 10, 2014 @02:28PM
(#8298138)
Surely the size of the JSON payload matters for this benchmark. Just saying you can parse json in under 1 ms is somewhat meaningless unless you're comparing similar sized json documents, as well as marshalling into a user-supplied class.
Re:Fast, auto-generated streaming JSON parsing for Android
by azinman2 on Wednesday September 10, 2014 @02:30PM
(#8298160)
And that's exactly what I'm comparing. This was the shock that came from the same data being loaded into android as ios being over an order of magnitude slower.