平均速度json比xml的decode快3-6倍
-------------------------------------------------------------------------
应用xml包为dom4j,json包为org.json.
The result of json vs xml(test10)(parseTime1000) is ......
WinTimes-TotalTime
json 10-172
xml 0-687
The result of json vs xml(test10)(parseTime360) is ......
WinTimes-TotalTime
json 9-61
xml 1-361
The result of json vs xml(test100)(parseTime1500) is ......
WinTimes-TotalTime
json 55-250
xml 45-970
The result of json vs xml(test100)(parseTime8900) is ......
WinTimes-TotalTime
json 100-1046
xml 0-3827
The result of json vs xml(test100)(parseTime6100) is ......
WinTimes-TotalTime
json 82-751
xml 18-2657
The result of json vs xml(test100)(parseTime1000) is ......
WinTimes-TotalTime
json 43-141
xml 57-733
The result of json vs xml(test100)(parseTime8000) is ......
WinTimes-TotalTime
json 100-926
xml 0-3465
The result of json vs xml(test100)(parseTime1900) is ......
WinTimes-TotalTime
json 69-237
xml 31-1169
The result of json vs xml(test100)(parseTime6900) is ......
WinTimes-TotalTime
json 89-777
xml 11-3036
The result of json vs xml(test1000)(parseTime378000) is ......
WinTimes-TotalTime
json 1000-26949
xml 0-146066
947

被折叠的 条评论
为什么被折叠?



