Skip to content

neilireson/geospatial-polygon-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark of geospatial polygon indexes

JMH is used to compute the benchmarks

Currently, four libraries are included in the benchmark:

  1. Geotools

  2. Lucene

  3. MongoDB

  4. PostGIS

Parameters

Include "-prof gc" for Memory performance

The benchmarks test both point and polygon intersection and vary

  • Number of indexed polygons

Results

On Geofabrik OSM England landuse data, querying with 10,000 random points/polygons.

Benchmark Mode Cnt Score Error Units GeotoolsBenchmark.pointIntersectsQuery thrpt 3 13.640 ± 83.265 ops/s GeotoolsBenchmark.polygonIntersectsQuery thrpt 3 0.101 ± 0.422 ops/s LuceneBenchmark.pointIntersectsQuery thrpt 3 0.108 ± 0.514 ops/s LuceneBenchmark.polygonIntersectsQuery thrpt 3 0.092 ± 0.117 ops/s MongoDbBenchmark.pointQuery thrpt 3 0.095 ± 0.049 ops/s MongoDbBenchmark.polygonQuery thrpt 3 0.028 ± 0.022 ops/s PostgisBenchmark.pointQuery thrpt 3 0.091 ± 0.142 ops/s PostgisBenchmark.polygonQuery thrpt 3 0.065 ± 0.068 ops/s

About

Benchmark of geospatial polygon indexes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages