Since I've posted the WSTest results I've been wondering what the results would be when using serialization methods other than XML and what is really the difference between Aalto and SJSXP XML parsers
I've set up a test using JSON and native Java serialization. The JSON bits are handled by the Jackson processor because it's claim to fame is that it's fast and in addition to that it supports easy binding to Java objects
As always the code is available for download
|Test Name||xml - sjsxp||xml - aalto||json - jackson||java serialization|
What are the conclusions?
For this tests Aalto seems to be about 30-40% faster than SJSXP (the bundled StaX parser).
Jackson is screamingly fast, it gives Java serialization a run for it's money, specially for small message sizes.