Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124594

Protobuf deserialization is slow and the bottleneck for a vectormap application

    XMLWordPrintable

Details

    • 25
    • 0da8af84b (dev), 891ed312a (6.8)
    • Foundation PM Staging

    Description

      The MapBox vector map standard uses Protobuf to decode the coordinates of streets, houses, etc. (https://docs.mapbox.com/api/maps/vector-tiles/).

      In an attempt to implement this standard on basis of QtGrpc (https://github.com/cecilianor/Qt-thesis/tree/main) , we found that the deserialization is very inefficient. A tile with a size of 200 KB takes about 2 seconds to deserialize on a new laptop. Usually around 4-16 tiles need to be loaded to show a map. Competitors do this basically instantly.

      This example is a good opportunity to profile real world usage and to eliminate the bottleneck in the protobuf deserialization. 

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-124594
          # Subject Branch Project Status CR V

          Activity

            People

              semlanik Alexey Edelev
              matthias_rauter Matthias Rauter
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change