ubikapps.net

Mobile Development Blog

Entries Tagged ‘XML’

Benchmarking JSON vs XML Parsing in Android revisited

In my previous post on this I mentioned that parsing the Google Reader XML (Atom) feed with SAX was faster than parsing the JSON stream with json-simple. However, this is no longer the case thanks to jackson which is used in the Reader Widgets from version 2.3. On my HTC G1 running Android 1.6 (donut) [...]

Benchmarking JSON vs XML Parsing in Android

I finally found a JSON version of the Google Reader Atom reading list so I decided to see which is faster for Android. The JSON responses are about 25% smaller so they should be faster to download and process overall. For benchmarking I used my G1 as it has the least memory out of my [...]