Comments (3)
@gibbz00 i tried it too, if my memory serves me right (you can try them too with the bench-mvt
branch) - quick-protobuf was also slower. I am not certain why this is -- it might actually be due to some extra fields being created by other libs to store un-expected values (the current lib simply ignores them IIRC)
from geozero.
I have ran some tests using bench-mvt branch (see diff). It seems the protobuf implementation is ~24% slower, so unless there are some really strong reasons to switch, may keep it as is for now...
decode MVT using prost
time: [18.426 µs 18.621 µs 18.831 µs]
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) high mild
1 (1.00%) high severe
decode MVT using protobuf
time: [22.870 µs 23.115 µs 23.388 µs]
Found 11 outliers among 100 measurements (11.00%)
5 (5.00%) high mild
6 (6.00%) high severe
from geozero.
quick-protobuf you mentioned in the linked issue seems like a good candidate :) saw it being added as a dependency in the bench-mvt branch... did you end up getting any benchmarks from it too?
from geozero.
Related Issues (20)
- Make readme examples part of `cargo test`
- Create a sample MVT file with all types of geometries/properties for testing
- Error refactoring HOT 2
- Make srid & dim fields of all writers private, and add ctor
- Introduce global dimension constants
- Better support for sparse properties by declaring schema when available HOT 1
- Clarification of `GeomProcessor` methods HOT 1
- `point_begin`/`point_end` should be called around `xy` for each Point in a MultiPoint HOT 1
- GeoPackage reader (GeozeroDatasource impl) HOT 3
- Move geozero-shp into geozero? HOT 3
- Impl `GeozeroGeometry` for concrate type should impls srid() and dims() HOT 1
- `BufferedGeozeroDatasource` for spatial filtering on reading
- Documentation for parsing GeoJSON from a file HOT 6
- Support for writing WKT with precision
- `geos::Geometry` to `ewkt` panic
- Trait error using sqlx example HOT 4
- properly escape JSON strings
- Unresolved import `gdal_sys` HOT 4
- Add support for reading and writing polylines HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geozero.