maplibre / maplibre-tile-spec

Next generation vector tiles format
Apache License 2.0
173 stars 14 forks source link

Improve Java decoding benchmark #197

Open springmeyer opened 4 months ago

springmeyer commented 4 months ago

Context

The Java decoding benchmark compares the speed of MLT decoding against two different libraries implementing https://github.com/mapbox/vector-tile-spec:

Problem

Both vector tile libraries are doing extra work that is not representative of what Maplibre needs.

Maplibre needs:

Rather what the Java vector tile libraries do are:

ElectronicChartCentre/java-vector-tile

sebasbaumh/mapbox-vector-tile-java

Solution

We need to correct the Java benchmarks to compare against MVT decoding that is representative of what Maplibre expects.

springmeyer commented 4 months ago

MVT decoding that is representative of what Maplibre expects.

@mactrem here is a library in java that can be used to compare against: https://github.com/springmeyer/vector-tile-java. Let me know if you have any questions.