You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I benchmarked xml2json-xslt against a select node with 500 child option nodes.
time xsltproc --profile xml2json.xsl testselect.xml
real 0m18.185s
user 0m18.100s
sys 0m0.000s
Ouch.
I searched around a bit and found a version which Martynas Jusevičius modified
to add attribute and array support.
time xsltproc --profile xml2json-martynas.xsl testselect.xml
real 0m0.046s
user 0m0.040s
sys 0m0.010s
Perhaps his changes could be integrated to greatly improve the performance of
xml2json-xslt? The output is different (the array is at object.select.option
instead of object.select, actually arguably more sensible), but for how I'm
using it, modifying my Javascript to accommodate this is trivial.
Benchmark conducted on HP Compaq nc6400 with Intel(R) Core(TM)2 CPU T7200 @
2.00GHz and 4GB RAM running Ubuntu 10.04 64-bit.
Original issue reported on code.google.com by colind...@gmail.com on 17 Jun 2010 at 4:10
Original issue reported on code.google.com by
colind...@gmail.com
on 17 Jun 2010 at 4:10Attachments:
The text was updated successfully, but these errors were encountered: