I just want to share with you some performance tests with JKL parser ( http://www.kawa.net/works/js/jkl/parsexml-e.html). It does the same as the others xml-to-json parsers. But I think is quite interesting, though. I've just converted McCord xml data into json object. Here you have some interesting links I've looking on Internet that you may find interesting:
http://www.thomasfrank.se/xml_to_json.html (already tested by Antranig). http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html http://www.kawa.net/works/js/jkl/parsexml-e.html Here are my results: PERFORMANCE TESTS. XML TO JSON (using JKL). Local test (Using Wamp Server) Internet Explorer 7 (32bits) Headdress.xml | used time: 69ms Cartoon.xml | used time: 13 ms Photograph.xml | used time: 9 ms Snuffbox.xml | used time: 19 ms Total time conversion (4 xml docs): 110 ms ------------------------------------------ ------------------------------------------ FF3 Headdress.xml | used time: 31ms Cartoon.xml | used time: 15 ms Photograph.xml | used time: 13 ms Snuffbox.xml | used time: 20 ms Total time conversion (4 xml docs): 79 ms ------------------------------------------- ------------------------------------------- Opera 9.64 Headdress.xml | used time: 3ms Cartoon.xml | used time: 5 ms Photograph.xml | used time: 4 ms Snuffbox.xml | used time: 6 ms Total time conversion (4 xml docs): 18 ms ------------------------------------------ ------------------------------------------ ------------------------------------------ Wireless Connection (3Mb/sec) Internet Explorer 7 (64bits) Headdress.xml | used time: 184ms Cartoon.xml | used time: 129 ms Photograph.xml | used time: 106 ms Snuffbox.xml | used time: 164 ms Total time conversion (4 xml docs): 583 ms ------------------------------------------ ------------------------------------------ Opera 9.64 Headdress.xml | used time: 113ms Cartoon.xml | used time: 164 ms Photograph.xml | used time: 89 ms Snuffbox.xml | used time: 137 ms Total time conversion (4 xml docs): 503 ms ------------------------------------------ ------------------------------------------ FF3 Headdress.xml | used time: 249ms Cartoon.xml | used time: 536 ms Photograph.xml | used time: 169 ms Snuffbox.xml | used time: 1192 ms Total time conversion (4 xml docs): 2146 ms ------------------------------------------ ------------------------------------------ ------------------------------------------ Perfomance tests. Second test. (30Mb/sec) FF3 Headdress.xml | used time: 194ms Cartoon.xml | used time: 181 ms Photograph.xml | used time: 163 ms Snuffbox.xml | used time: 185 ms Total time conversion (4 xml docs): 723 ms -------------------------------------------- -------------------------------------------- Opera 9.64 Headdress.xml | used time: 102ms Cartoon.xml | used time: 122 ms Photograph.xml | used time: 84 ms Snuffbox.xml | used time: 120 ms Total time conversion (4 xml docs): 428 ms --------------------------------------------- --------------------------------------------- Internet Explorer 7 (32bits) Headdress.xml | used time: 115ms Cartoon.xml | used time: 100 ms Photograph.xml | used time: 83 ms Snuffbox.xml | used time: 138 ms Total time conversion (4 xml docs): 437 ms
_______________________________________________________ fluid-work mailing list - [email protected] To unsubscribe, change settings or access archives, see http://fluidproject.org/mailman/listinfo/fluid-work
