skip to main |
skip to sidebar
JAXB, SAX, DOM Performance
- The peformance times for pure SAX are slightly better than JAXB but only for very large files. Unless you are using very large files the performance differences are not worth worrying about. The progamming model advantages of JAXB win out over the complexitiy of the SAX programming model. Don't forget JAXB also provides random accses like DOM does. SAX does not provide this.
- Performance times look a lot better with Woodstox, if JAXB / StAX is being used.
- Performance times with 64 bit JDK 7 look a lot better. Memory usuage looks slightly higher.