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

Cache class info to speed up connection

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • WebChannel
    • None

    Description

      As of now, QMetaObjectPublisher always re-populates the JSON Object describing an object when a client connects. This process is rather expensive and hits hard when exporting a large number of objects. In our software, QWebChannel is the main remoting interface to a rather complex application (exporting up to about 50 objects) running on limited hardware (i.MX53 based).
      When connecting to the WebChannel server it can easily take up to 15 seconds before the whole initialization message is built and sent.

      This could easily be fixed by building the class info once (including everything except current property values) and storing it in a cache keyed by the QMetaObject.

      Attachments

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

        Activity

          People

            milianw Milian Wolff
            msarehn Arno Rehn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes