Skip to content

Commit

Permalink
Update benchmark results.
Browse files Browse the repository at this point in the history
  • Loading branch information
joehni committed May 16, 2017
1 parent b9778e3 commit 07a0eb4
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 103 deletions.
106 changes: 53 additions & 53 deletions xstream-distribution/src/content/benchmarks.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,76 +51,76 @@ <h2 id="parser">Parser Benchmark</h2>
<th>Nested</th>
</tr>
<tr>
<th>W3C DOM (Oracle JDK 1.8.0_66)</th>
<td>10037380.795</td>
<td>54234293.351</td>
<td>1917332.056</td>
<th>W3C DOM (Oracle JDK 1.8.0_131)</th>
<td>9781342.261</td>
<td>52632217.909</td>
<td>5103544.581</td>
</tr>
<tr>
<th>JDOM (1.1.3)</th>
<td>6368317.636</td>
<td>7910979.223</td>
<td>3862796.027</td>
<td>6303281.491</td>
<td>7066427.706</td>
<td>14168656.571</td>
</tr>
<tr>
<th>JDOM 2 (2.0.5)</th>
<td>5767640.105</td>
<td>10570210.653</td>
<td>2980906.727</td>
<td>5912161.208</td>
<td>9159926.646</td>
<td>10786607.592</td>
</tr>
<tr>
<th>DOM4J (1.6.1)</th>
<td>7816280.084</td>
<td>92998322.952</td>
<td>2108075.646</td>
<td>7737425.182</td>
<td>93587705.473</td>
<td>5832065.181</td>
</tr>
<tr>
<th>XOM (1.1)</th>
<td>7950778.533</td>
<td>38704485.310</td>
<td>2471019.743</td>
<td>8086930.673</td>
<td>36550127.033</td>
<td>7799715.857</td>
</tr>
<tr>
<th>StAX (BEA 1.2.0)</th>
<td>3108517.699</td>
<td>1310406.961</td>
<td>669111.164</td>
<td>2658801.705</td>
<td>716108.170</td>
<td>579754.753</td>
</tr>
<tr>
<th>StAX (Woodstox 3.2.7)</th>
<td>1884858.525</td>
<td>1240767.393</td>
<td>650470.623</td>
<td>1888835.931</td>
<td>622817.191</td>
<td>645986.465</td>
</tr>
<tr>
<th>StAX (Oracle JDK 1.8.0_66)</th>
<td>7366387.272</td>
<td>1334398.501</td>
<td>688229.709</td>
<th>StAX (Oracle JDK 1.8.0_131)</th>
<td>7314997.951</td>
<td>727323.621</td>
<td>594349.622</td>
</tr>
<tr>
<th>XPP (Xpp3 min 1.1.4c)</th>
<td>2109341.076</td>
<td>1309607.210</td>
<td>3301732.767</td>
<td>2084516.475</td>
<td>693019.370</td>
<td>12426115.039</td>
</tr>
<tr>
<th>XPP (kXML2 min 2.3.0)</th>
<td>3391204.266</td>
<td>1514514.680</td>
<td>8105934.241</td>
<td>3539743.111</td>
<td>837861.515</td>
<td>34291308.328</td>
</tr>
<tr>
<th>Binary (XStream 1.4.9)</th>
<td>1144243.750</td>
<td>1062031.901</td>
<td>496839.565</td>
<th>Binary (XStream 1.4.10)</th>
<td>1149384.865</td>
<td>438657.801</td>
<td>290646.503</td>
</tr>
<tr>
<th>Jettison (1.2)</th>
<td>3002547.220</td>
<td>1159238.555</td>
<td>682182.733</td>
<td>2983598.441</td>
<td>564172.475</td>
<td>632427.902</td>
</tr>
</table>

Expand All @@ -146,15 +146,15 @@ <h2 id="converterType">Converter Type Benchmark</h2>
</tr>
<tr>
<th>Custom</th>
<td>11276718.384</td>
<td>9827295.423</td>
</tr>
<tr>
<th>Java Bean</th>
<td>28878706.293</td>
<td>18939434.561</td>
</tr>
<tr>
<th>Reflection</th>
<td>40085786.696</td>
<td>19450925.166</td>
</tr>
</table>

Expand All @@ -180,27 +180,27 @@ <h2 id="stringConverter">String Converter Benchmark</h2>
</tr>
<tr>
<th>No Cache</th>
<td>19626160.696</td>
<td>9755034.512</td>
</tr>
<tr>
<th>Intern</th>
<td>23060982.052</td>
<td>12650471.288</td>
</tr>
<tr>
<th>ConcurrentMap (length limit)</th>
<td>21796001.298</td>
<td>12072029.228</td>
</tr>
<tr>
<th>ConcurrentMap (unlimited)</th>
<td>21378299.003</td>
<td>11431423.547</td>
</tr>
<tr>
<th>Sync'd WeakCache (length limit)</th>
<td>21838410.801</td>
<td>12748751.700</td>
</tr>
<tr>
<th>Sync'd WeakCache (unlimited)</th>
<td>22011251.691</td>
<td>11178461.611</td>
</tr>
</table>

Expand Down Expand Up @@ -241,23 +241,23 @@ <h2 id="nameCoder">Name Coder Benchmark</h2>
</tr>
<tr>
<th>No Coding</th>
<td>7299475.975</td>
<td>4057270.642</td>
</tr>
<tr>
<th>Dollar Coding</th>
<td>7767196.902</td>
<td>4635671.256</td>
</tr>
<tr>
<th>Escaped Underscore Coding</th>
<td>9894393.289</td>
<td>5974244.102</td>
</tr>
<tr>
<th>Cached Escaped Underscore Coding</th>
<td>7867671.962</td>
<td>4531410.494</td>
</tr>
<tr>
<th>Xml Friendly Coding</th>
<td>8635501.208</td>
<td>4953594.706</td>
</tr>
</table>

Expand Down
6 changes: 3 additions & 3 deletions xstream-jmh/src/reference/converterType.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Benchmark Mode Cnt Score Error Units
ConverterTypeBenchmark.custom avgt 16 12020855.816 ± 883611.922 ns/op
ConverterTypeBenchmark.javaBean avgt 16 22788193.390 ± 2370821.167 ns/op
ConverterTypeBenchmark.reflection avgt 16 23736278.008 ± 2507447.993 ns/op
ConverterTypeBenchmark.custom avgt 16 9827295.423 ± 216353.603 ns/op
ConverterTypeBenchmark.javaBean avgt 16 18939434.561 ± 196809.719 ns/op
ConverterTypeBenchmark.reflection avgt 16 19450925.166 ± 181312.751 ns/op
10 changes: 5 additions & 5 deletions xstream-jmh/src/reference/nameCoder.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Benchmark Mode Cnt Score Error Units
NameCoderBenchmark.cachedEscapedUnderscoreCoding avgt 25 5179479.727 ± 244435.468 ns/op
NameCoderBenchmark.dollarCoding avgt 25 5572573.627 ± 379668.894 ns/op
NameCoderBenchmark.escapedUnderscoreCoding avgt 25 7127464.904 ± 438287.227 ns/op
NameCoderBenchmark.noCoding avgt 25 4934146.778 ± 338313.785 ns/op
NameCoderBenchmark.xmlFriendlyCoding avgt 25 5825764.458 ± 469754.909 ns/op
NameCoderBenchmark.cachedEscapedUnderscoreCoding avgt 25 4531410.494 ± 128534.700 ns/op
NameCoderBenchmark.dollarCoding avgt 25 4635671.256 ± 154209.189 ns/op
NameCoderBenchmark.escapedUnderscoreCoding avgt 25 5974244.102 ± 68996.714 ns/op
NameCoderBenchmark.noCoding avgt 25 4057270.642 ± 50166.734 ns/op
NameCoderBenchmark.xmlFriendlyCoding avgt 25 4953594.706 ± 98502.894 ns/op
72 changes: 36 additions & 36 deletions xstream-jmh/src/reference/parsers.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
Benchmark (driverFactory) Mode Cnt Score Error Units
ParserBenchmark.parseBigText Xpp3 avgt 15 2147602.798 ± 28504.468 ns/op
ParserBenchmark.parseBigText kXML2 avgt 15 3545807.975 ± 45520.540 ns/op
ParserBenchmark.parseBigText JDKStax avgt 15 7389262.192 ± 48739.236 ns/op
ParserBenchmark.parseBigText Woodstox avgt 15 1889420.390 ± 17826.260 ns/op
ParserBenchmark.parseBigText BEAStax avgt 15 2903833.598 ± 25316.968 ns/op
ParserBenchmark.parseBigText DOM avgt 15 9586539.578 ± 79072.720 ns/op
ParserBenchmark.parseBigText DOM4J avgt 15 7674922.768 ± 154247.880 ns/op
ParserBenchmark.parseBigText JDom avgt 15 6250050.479 ± 103887.092 ns/op
ParserBenchmark.parseBigText JDom2 avgt 15 5803803.924 ± 56358.847 ns/op
ParserBenchmark.parseBigText Xom avgt 15 8096345.591 ± 49950.827 ns/op
ParserBenchmark.parseBigText Binary avgt 15 1103047.584 ± 20005.632 ns/op
ParserBenchmark.parseBigText Jettison avgt 15 2968661.012 ± 37111.887 ns/op
ParserBenchmark.parseManyChildren Xpp3 avgt 15 729495.339 ± 4036.649 ns/op
ParserBenchmark.parseManyChildren kXML2 avgt 15 897617.792 ± 8989.061 ns/op
ParserBenchmark.parseManyChildren JDKStax avgt 15 682033.010 ± 6669.154 ns/op
ParserBenchmark.parseManyChildren Woodstox avgt 15 719072.342 ± 3355.698 ns/op
ParserBenchmark.parseManyChildren BEAStax avgt 15 690075.952 ± 5683.216 ns/op
ParserBenchmark.parseManyChildren DOM avgt 15 53190584.842 ± 264410.464 ns/op
ParserBenchmark.parseManyChildren DOM4J avgt 15 91049540.535 ± 706498.187 ns/op
ParserBenchmark.parseManyChildren JDom avgt 15 6916652.908 ± 138430.515 ns/op
ParserBenchmark.parseManyChildren JDom2 avgt 15 8831765.034 ± 77406.991 ns/op
ParserBenchmark.parseManyChildren Xom avgt 15 37386635.548 ± 462061.045 ns/op
ParserBenchmark.parseManyChildren Binary avgt 15 397336.524 ± 2493.506 ns/op
ParserBenchmark.parseManyChildren Jettison avgt 15 584740.600 ± 4189.407 ns/op
ParserBenchmark.parseNestedElements Xpp3 avgt 15 2914253.613 ± 35765.611 ns/op
ParserBenchmark.parseNestedElements kXML2 avgt 15 8539219.062 ± 35954.836 ns/op
ParserBenchmark.parseNestedElements JDKStax avgt 15 325320.886 ± 1104.654 ns/op
ParserBenchmark.parseNestedElements Woodstox avgt 15 295615.904 ± 3254.109 ns/op
ParserBenchmark.parseNestedElements BEAStax avgt 15 336259.536 ± 2615.047 ns/op
ParserBenchmark.parseNestedElements DOM avgt 15 1580715.937 ± 26496.899 ns/op
ParserBenchmark.parseNestedElements DOM4J avgt 15 1724778.342 ± 60246.343 ns/op
ParserBenchmark.parseNestedElements JDom avgt 15 3528852.782 ± 67257.556 ns/op
ParserBenchmark.parseNestedElements JDom2 avgt 15 2624357.126 ± 34120.025 ns/op
ParserBenchmark.parseNestedElements Xom avgt 15 2287300.107 ± 29825.028 ns/op
ParserBenchmark.parseNestedElements Binary avgt 15 145293.165 ± 2018.636 ns/op
ParserBenchmark.parseNestedElements Jettison avgt 15 337839.722 ± 5026.616 ns/op
ParserBenchmark.parseBigText Xpp3 avgt 15 2084516.475 ± 18357.160 ns/op
ParserBenchmark.parseBigText kXML2 avgt 15 3539743.111 ± 40107.429 ns/op
ParserBenchmark.parseBigText JDKStax avgt 15 7314997.951 ± 47929.496 ns/op
ParserBenchmark.parseBigText Woodstox avgt 15 1888835.931 ± 22134.786 ns/op
ParserBenchmark.parseBigText BEAStax avgt 15 2658801.705 ± 18343.532 ns/op
ParserBenchmark.parseBigText DOM avgt 15 9781342.261 ± 56171.129 ns/op
ParserBenchmark.parseBigText DOM4J avgt 15 7737425.182 ± 60332.494 ns/op
ParserBenchmark.parseBigText JDom avgt 15 6303281.491 ± 38500.209 ns/op
ParserBenchmark.parseBigText JDom2 avgt 15 5912161.208 ± 60666.941 ns/op
ParserBenchmark.parseBigText Xom avgt 15 8086930.673 ± 84884.910 ns/op
ParserBenchmark.parseBigText Binary avgt 15 1149384.865 ± 18245.639 ns/op
ParserBenchmark.parseBigText Jettison avgt 15 2983598.441 ± 51508.673 ns/op
ParserBenchmark.parseManyChildren Xpp3 avgt 15 693019.370 ± 3982.017 ns/op
ParserBenchmark.parseManyChildren kXML2 avgt 15 837861.515 ± 5737.910 ns/op
ParserBenchmark.parseManyChildren JDKStax avgt 15 727323.621 ± 12819.229 ns/op
ParserBenchmark.parseManyChildren Woodstox avgt 15 622817.191 ± 8434.515 ns/op
ParserBenchmark.parseManyChildren BEAStax avgt 15 716108.170 ± 3738.679 ns/op
ParserBenchmark.parseManyChildren DOM avgt 15 52632217.909 ± 820752.640 ns/op
ParserBenchmark.parseManyChildren DOM4J avgt 15 93587705.473 ± 576597.653 ns/op
ParserBenchmark.parseManyChildren JDom avgt 15 7066427.706 ± 67403.369 ns/op
ParserBenchmark.parseManyChildren JDom2 avgt 15 9159926.646 ± 91300.562 ns/op
ParserBenchmark.parseManyChildren Xom avgt 15 36550127.033 ± 85933.816 ns/op
ParserBenchmark.parseManyChildren Binary avgt 15 438657.801 ± 4495.124 ns/op
ParserBenchmark.parseManyChildren Jettison avgt 15 564172.475 ± 4212.309 ns/op
ParserBenchmark.parseNestedElements Xpp3 avgt 15 12426115.039 ± 129574.773 ns/op
ParserBenchmark.parseNestedElements kXML2 avgt 15 34291308.328 ± 168044.895 ns/op
ParserBenchmark.parseNestedElements JDKStax avgt 15 594349.622 ± 4103.535 ns/op
ParserBenchmark.parseNestedElements Woodstox avgt 15 645986.465 ± 7631.906 ns/op
ParserBenchmark.parseNestedElements BEAStax avgt 15 579754.753 ± 2345.131 ns/op
ParserBenchmark.parseNestedElements DOM avgt 15 5103544.581 ± 43300.158 ns/op
ParserBenchmark.parseNestedElements DOM4J avgt 15 5832065.181 ± 58233.910 ns/op
ParserBenchmark.parseNestedElements JDom avgt 15 14168656.571 ± 199034.717 ns/op
ParserBenchmark.parseNestedElements JDom2 avgt 15 10786607.592 ± 136001.568 ns/op
ParserBenchmark.parseNestedElements Xom avgt 15 7799715.857 ± 102903.181 ns/op
ParserBenchmark.parseNestedElements Binary avgt 15 290646.503 ± 1769.476 ns/op
ParserBenchmark.parseNestedElements Jettison avgt 15 632427.902 ± 4369.921 ns/op
12 changes: 6 additions & 6 deletions xstream-jmh/src/reference/stringConverter.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Benchmark Mode Cnt Score Error Units
StringConverterBenchmark.intern avgt 16 16099236.239 ± 3246490.136 ns/op
StringConverterBenchmark.limitedConcurrentMap avgt 16 13639140.512 ± 2765156.085 ns/op
StringConverterBenchmark.limitedSynchronizedWeakCache avgt 16 14345476.527 ± 2638019.017 ns/op
StringConverterBenchmark.nonCaching avgt 16 11584409.434 ± 1361122.907 ns/op
StringConverterBenchmark.unlimitedConcurrentMap avgt 16 14244495.518 ± 2850359.010 ns/op
StringConverterBenchmark.unlimitedSynchronizedWeakCache avgt 16 14915767.379 ± 1897332.645 ns/op
StringConverterBenchmark.intern avgt 16 12650471.288 ± 165474.187 ns/op
StringConverterBenchmark.limitedConcurrentMap avgt 16 12072029.228 ± 175936.759 ns/op
StringConverterBenchmark.limitedSynchronizedWeakCache avgt 16 12748751.700 ± 205485.179 ns/op
StringConverterBenchmark.nonCaching avgt 16 9755034.512 ± 210645.214 ns/op
StringConverterBenchmark.unlimitedConcurrentMap avgt 16 11431423.547 ± 176483.052 ns/op
StringConverterBenchmark.unlimitedSynchronizedWeakCache avgt 16 11178461.611 ± 177404.016 ns/op

0 comments on commit 07a0eb4

Please sign in to comment.