Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1052

Dependency scanning is in need of optimization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.8.0
    • 1.7.0
    • General
    • None
    • 4004e5688b49e0c7e97e9f4773c3d3c76c0059ee, 35495b4a9afabe5d2e8ad30c76c07066d2954a13

    Description

      a) Whenever an artifact changes, all its inputs are re-scanned recursively, with no regards to whether they have actually changed themselves. Thus we have many more potentially expensive file system operations than we would actually need.
      b) Every artifact keeps a full (i.e. recursive) list of all its dependencies, which takes a lot of memory.

      I believe that both of these problems can be solved by attaching more information to the FileDependency class (namely: Which dependencies were introduced at what time with which scanner and configuration).

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes