Aklakan commented on PR #3027: URL: https://github.com/apache/jena/pull/3027#issuecomment-2692519108
I now also added the benchmark that evaluates loading a spatial index from disk - so w.r.t. index loading during server startup, the kryo version is significantly faster. ``` Benchmark (param0_jenaVersion) (param1_geometryMixes) Mode Cnt Score Error Units BenchmarkSpatialIndex.load current 1000 avgt 5 0.002 ± 0.001 s/op BenchmarkSpatialIndex.load current 10000 avgt 5 0.006 ± 0.001 s/op BenchmarkSpatialIndex.load current 100000 avgt 5 0.064 ± 0.004 s/op BenchmarkSpatialIndex.load 5.1.0 1000 avgt 5 0.062 ± 0.009 s/op BenchmarkSpatialIndex.load 5.1.0 10000 avgt 5 0.565 ± 0.471 s/op BenchmarkSpatialIndex.load 5.1.0 100000 avgt 5 7.439 ± 0.442 s/op ``` A geometry mix is comprises 8 different geometry types (point, linestring, linearring, polygon, multipoint, multilinestring, multipolygon, geometrycollection). So the actual number of envelopes in the spatial index is `8 x geometryMixes`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org For additional commands, e-mail: pr-h...@jena.apache.org