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

Multiple file exist checks for one file during declarative view creation slowing app startup.

    XMLWordPrintable

Details

    • 7d0e1bb75dcb8d6d4fa843f95610fd1adec803f0

    Description

      During qml app startup, one qml file may be checked for existance couple of times. This happens when:
      1. Item defined one qml file is used in other qml files - for one file one check is performed.
      2. When java script element is used in qml file - usage looks like this:

      import "Logic.js" as Logic

      Log file shows, that during declarative view construction there are 18 checks of file Logic.qml existance - there is no Logic.qml file in app, only Logic.js.

      On symbian platform file exist check are time consuming, so making multiple checks of the same file may slow app startup considerably. Also there are unnecessary checks made for file that doesn't exist (Logic.qml when there is only Logic.js file present).

      Log attached.

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            mgolonka Michal Golonka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes