Code Monkey home page Code Monkey logo

Comments (3)

nyurik avatar nyurik commented on June 10, 2024 1

@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.

nyurik avatar nyurik commented on June 10, 2024

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.

gibbz00 avatar gibbz00 commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.