Releases: SimY4/xpath-to-xml
Releases · SimY4/xpath-to-xml
Serialization support
Improvements:
- Core
- XmlBuilder instances are now serializable
- Expressions and views are serializable as long as particular XML model underneath is serializable
Bugfixes:
- Core
- Partially resolvable axis nodes are now correctly created.
2.1.1
JDOM model support
Features:
- JDOM model support
Improvements:
- Core
- Added a static method to check at runtime whether a given model is supported
- Scala XML
- Various performance improvements
- Added 2.13 for cross compilation
- Fixed JavaDoc and source code publishing
Bugfixes:
- XOM
- Fixed namespace resolution for attribute nodes
Benchmark | (fixtureName) | (nsContext) | Mode | Cnt | Score | Error | Units |
---|---|---|---|---|---|---|---|
Gson | attr | null | thrpt | 25 | 5233.597 | ± 355.359 | ops/s |
Gson | simple | null | thrpt | 25 | 5255.770 | ± 92.656 | ops/s |
Gson | special | null | thrpt | 25 | 22157.770 | ± 116.389 | ops/s |
Jackson | attr | null | thrpt | 25 | 5164.415 | ± 81.184 | ops/s |
Jackson | simple | null | thrpt | 25 | 5019.702 | ± 25.621 | ops/s |
Jackson | special | null | thrpt | 25 | 21195.006 | ± 127.969 | ops/s |
javax.json | attr | null | thrpt | 25 | 1331.293 | ± 38.271 | ops/s |
javax.json | simple | null | thrpt | 25 | 1222.065 | ± 52.185 | ops/s |
javax.json | special | null | thrpt | 25 | 5085.358 | ± 556.216 | ops/s |
Dom | simple | null | thrpt | 25 | 9106.220 | ± 90.642 | ops/s |
Dom | ns-simple | null | thrpt | 25 | 8859.301 | ± 75.393 | ops/s |
Dom | attr | null | thrpt | 25 | 8548.221 | ± 31.201 | ops/s |
Dom | special | null | thrpt | 25 | 26284.892 | ± 165.159 | ops/s |
Dom4j | simple | null | thrpt | 25 | 8432.025 | ± 58.912 | ops/s |
Dom4j | ns-simple | null | thrpt | 25 | 8119.961 | ± 65.498 | ops/s |
Dom4j | attr | null | thrpt | 25 | 7659.065 | ± 68.158 | ops/s |
Dom4j | special | null | thrpt | 25 | 24504.344 | ± 258.515 | ops/s |
JDom | simple | null | thrpt | 25 | 7006.721 | ± 580.870 | ops/s |
JDom | ns-simple | null | thrpt | 25 | 6997.452 | ± 149.033 | ops/s |
JDom | attr | null | thrpt | 25 | 6185.959 | ± 814.567 | ops/s |
JDom | special | null | thrpt | 25 | 21584.529 | ± 1070.726 | ops/s |
Scala XML | simple | null | thrpt | 25 | 3113.996 | ± 28.145 | ops/s |
Scala XML | ns-simple | null | thrpt | 25 | 2942.852 | ± 102.330 | ops/s |
Scala XML | attr | null | thrpt | 25 | 1509.880 | ± 34.535 | ops/s |
Scala XML | special | null | thrpt | 25 | 16012.218 | ± 232.609 | ops/s |
Xom | simple | null | thrpt | 25 | 8129.801 | ± 104.183 | ops/s |
Xom | ns-simple | null | thrpt | 25 | 7829.133 | ± 53.716 | ops/s |
Xom | attr | null | thrpt | 25 | 8410.957 | ± 48.852 | ops/s |
Xom | special | null | thrpt | 25 | 23435.276 | ± 1764.062 | ops/s |
Scala XML and javax.json models support
Features:
- Scala XML model support
- javax.json model support
Improvements:
- Core
- [BREAKING] Effect interface was moved to
com.github.simy4.xpath.spi
package for better modularisation story. All existing extensions adopted this change. - [BREAKING] automatic module names were changed
- [BREAKING] Effect interface was moved to
Benchmark | (fixtureName) | (nsContext) | Mode | Cnt | Score | Error | Units |
---|---|---|---|---|---|---|---|
Gson | attr | null | thrpt | 25 | 5233.597 | ± 355.359 | ops/s |
Gson | simple | null | thrpt | 25 | 5255.770 | ± 92.656 | ops/s |
Gson | special | null | thrpt | 25 | 22157.770 | ± 116.389 | ops/s |
Jackson | attr | null | thrpt | 25 | 5164.415 | ± 81.184 | ops/s |
Jackson | simple | null | thrpt | 25 | 5019.702 | ± 25.621 | ops/s |
Jackson | special | null | thrpt | 25 | 21195.006 | ± 127.969 | ops/s |
javax.json | attr | null | thrpt | 25 | 1331.293 | ± 38.271 | ops/s |
javax.json | simple | null | thrpt | 25 | 1222.065 | ± 52.185 | ops/s |
javax.json | special | null | thrpt | 25 | 5085.358 | ± 556.216 | ops/s |
Dom | simple | null | thrpt | 25 | 9106.220 | ± 90.642 | ops/s |
Dom | ns-simple | null | thrpt | 25 | 8859.301 | ± 75.393 | ops/s |
Dom | attr | null | thrpt | 25 | 8548.221 | ± 31.201 | ops/s |
Dom | special | null | thrpt | 25 | 26284.892 | ± 165.159 | ops/s |
Dom4j | simple | null | thrpt | 25 | 8432.025 | ± 58.912 | ops/s |
Dom4j | ns-simple | null | thrpt | 25 | 8119.961 | ± 65.498 | ops/s |
Dom4j | attr | null | thrpt | 25 | 7659.065 | ± 68.158 | ops/s |
Dom4j | special | null | thrpt | 25 | 24504.344 | ± 258.515 | ops/s |
Scala XML | simple | null | thrpt | 25 | 2907.755 | ± 212.305 | ops/s |
Scala XML | ns-simple | null | thrpt | 25 | 2752.993 | ± 236.196 | ops/s |
Scala XML | attr | null | thrpt | 25 | 1503.442 | ± 47.480 | ops/s |
Scala XML | special | null | thrpt | 25 | 15654.450 | ± 374.588 | ops/s |
Xom | simple | null | thrpt | 25 | 8129.801 | ± 104.183 | ops/s |
Xom | ns-simple | null | thrpt | 25 | 7829.133 | ± 53.716 | ops/s |
Xom | attr | null | thrpt | 25 | 8410.957 | ± 48.852 | ops/s |
Xom | special | null | thrpt | 25 | 23435.276 | ± 1764.062 | ops/s |
1.2.4
1.2.3
1.2.2
1.2.1
Jackson model support
Features:
- Support for Jackson JSON model
Improvements:
- Core
- Improved XPath axis support. Newly supported axises are:
- descendant
- ancestor
- ancestor-or-self
- Improved XPath axis support. Newly supported axises are:
Benchmark | (fixtureName) | (nsContext) | Mode | Cnt | Score | Error | Units |
---|---|---|---|---|---|---|---|
Gson | attr | null | thrpt | 25 | 4515.704 | ± 155.161 | ops/s |
Gson | simple | null | thrpt | 25 | 4276.090 | ± 50.316 | ops/s |
Gson | special | null | thrpt | 25 | 19715.201 | ± 444.133 | ops/s |
Jackson | attr | null | thrpt | 25 | 4608.187 | ± 149.373 | ops/s |
Jackson | simple | null | thrpt | 25 | 4168.918 | ± 175.147 | ops/s |
Jackson | special | null | thrpt | 25 | 19619.121 | ± 584.705 | ops/s |
Dom | simple | null | thrpt | 25 | 7542.010 | ± 146.084 | ops/s |
Dom | ns-simple | null | thrpt | 25 | 7240.686 | ± 166.667 | ops/s |
Dom | attr | null | thrpt | 25 | 7406.989 | ± 142.083 | ops/s |
Dom | special | null | thrpt | 25 | 23009.554 | ± 480.192 | ops/s |
Dom4j | simple | null | thrpt | 25 | 6471.370 | ± 69.800 | ops/s |
Dom4j | ns-simple | null | thrpt | 25 | 6078.529 | ± 231.327 | ops/s |
Dom4j | attr | null | thrpt | 25 | 5914.333 | ± 556.363 | ops/s |
Dom4j | special | null | thrpt | 25 | 21658.407 | ± 658.159 | ops/s |
Xom | simple | null | thrpt | 25 | 6719.508 | ± 187.768 | ops/s |
Xom | ns-simple | null | thrpt | 25 | 6576.038 | ± 58.528 | ops/s |
Xom | attr | null | thrpt | 25 | 6956.524 | ± 101.212 | ops/s |