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

JSON Serialization / Deserialization performance degraded in Qt 5.15.x and above

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.15.0
    • Core: Other
    • None
    • All

    Description

      JSON serialization and deserialization has seen significant performance degradation since the switch over to QCbor in Qt 5.15.0.  My benchmarks show it is 2x slower on average for deserialization, yet JSON serialization is even worse than 2x slower quite often.

      It appears Qt 5.14.x and earlier, which used the original Json serializer/deserializer was much faster.

      Since JSON may be used in heavy client/server applications, such a performance hit is not optimal.

      Suggest: See if you can make the new JSON backend performance be on-par with previous Qt versions.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            cculianu calin culianu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes