Benchmarks for some java libraries.
- Run SimplifyBenchmark.main(), OR
- Run
java -jar target\benchmarks.jar SimplifyBenchmark
Benchmark | Mode | Cnt | Score | Error | Units |
---|---|---|---|---|---|
SimplifyBenchmark.benchSimplifyUsingJTS | thrpt | 200 | 36.460 | ± 0.234 | ops/s |
SimplifyBenchmark.benchSimplifyUsingJTSDontEnsureValid | thrpt | 200 | 38.073 | ± 0.151 | ops/s |
SimplifyBenchmark.benchSimplifyUsingJsPort | thrpt | 200 | 55.067 | ± 0.136 | ops/s |
SimplifyBenchmark.benchSimplifyUsingJsPortNoHighestQuality | thrpt | 200 | 345.519 | ± 2.916 | ops/s |
Benchmark | Mode | Cnt | Score | Error | Units |
---|---|---|---|---|---|
JsDataSetBenchmark.simplifyUsingJTS | thrpt | 200 | 7211.125 | ± 319.158 | ops/s |
JsDataSetBenchmark.simplifyUsingJsPort | thrpt | 200 | 12957.125 | ± 84.840 | ops/s |
JsDataSetBenchmark.simplifyUsingJsPortNoHighestQuality | thrpt | 200 | 19633.485 | ± 270.524 | ops/s |
- Run GeoJSONBenchmark.main(), OR
- Run
java -jar target\benchmarks.jar GeoJSONBenchmark
Benchmark | Mode | Cnt | Score | Error | Units |
---|---|---|---|---|---|
GeoJSONBenchmark.benchBigDataMaptalksGeoJSON | thrpt | 200 | 0.736 | ± 0.050 | ops/s |
GeoJSONBenchmark.benchBigDataOpendatalabGeoJSON | thrpt | 200 | 2.980 | ± 0.017 | ops/s |
GeoJSONBenchmark.benchBigDataWololoGeoJSON | thrpt | 200 | 0.530 | ± 0.048 | ops/s |
GeoJSONBenchmark.benchMediumDataMaptalksGeoJSON | thrpt | 200 | 19.733 | ± 0.056 | ops/s |
GeoJSONBenchmark.benchMediumDataOpendatalabGeoJSON | thrpt | 200 | 38.090 | ± 0.354 | ops/s |
GeoJSONBenchmark.benchMediumDataWololoGeoJSON | thrpt | 200 | 15.371 | ± 0.226 | ops/s |
GeoJSONBenchmark.benchSmallDataMaptalksGeoJSON | thrpt | 200 | 152.130 | ± 1.033 | ops/s |
GeoJSONBenchmark.benchSmallDataOpendatalabGeoJSON | thrpt | 200 | 277.090 | ± 1.482 | ops/s |
GeoJSONBenchmark.benchSmallDataWololoGeoJSON | thrpt | 200 | 124.473 | ± 0.604 | ops/s |
Benchmark | Mode | Cnt | Score | Error | Units |
---|---|---|---|---|---|
ReadJTSBenchmark.benchJacksonDatatypeJTS | thrpt | 200 | 65.614 | ± 0.823 | ops/s |
ReadJTSBenchmark.benchLocationTechGeoJSON | thrpt | 200 | 33.473 | ± 0.152 | ops/s |
ReadJTSBenchmark.benchMaptalksGeoJSON | thrpt | 200 | 38.823 | ± 0.625 | ops/s |
ReadJTSBenchmark.benchWololoGeoJSON | thrpt | 200 | 43.695 | ± 0.149 | ops/s |
Benchmark | Mode | Cnt | Score | Error | Units |
---|---|---|---|---|---|
DeserializeFeatureBenchmark.benchMediumDataJacksonDataJTS | thrpt | 10 | 35.682 | ± 0.438 | ops/s |
DeserializeFeatureBenchmark.benchMediumDataMaptalksGeoJSON | thrpt | 10 | 19.510 | ± 0.535 | ops/s |
DeserializeFeatureBenchmark.benchSmallDataJacksonDataJTS | thrpt | 10 | 287.442 | ± 2.012 | ops/s |
DeserializeFeatureBenchmark.benchSmallDataMaptalksGeoJSON | thrpt | 10 | 159.009 | ± 0.779 | ops/s |
Decode to JTS Geometry from GeoJSON/WKT/WKB/Base64-WKB
# Run complete. Total time: 00:27:00
Benchmark Mode Cnt Score Error Units
DecodeBenchmark.benchDecodeBase64WKB thrpt 200 2963909.353 ± 11006.605 ops/s
DecodeBenchmark.benchDecodeGeoJSON thrpt 200 838314.856 ± 7005.510 ops/s
DecodeBenchmark.benchDecodeWKB thrpt 200 5819890.781 ± 37824.799 ops/s
DecodeBenchmark.benchDecodeWKT thrpt 200 1492566.011 ± 10401.999 ops/s