Sunday, January 13, 2013

XML vs JSON performance @ jsPerf

xml vs json · jsPerf:

A very interesting online browser comparison tool.
Same data are processed in XML and in JSON format,
and results from various browsers are compared on the server.

JSON is consistently much faster,
except with latest Chrome where XML is slightly faster than JSON.
Usually, using JSON is about 20 times faster than XML.

In addition to performance, data in JSON format have less security
limitations compared to XML and HTML formatted data...

The AJAX response: XML, HTML, or JSON?

No comments: