Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25627

[cplusplus] file open/parsing bottleneck in filesystem access

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.15.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      when opening a file the preprocessor is executed (`Preprocessor::run`). with my codebase more than 20% of the time is spent in the `stat` system call, inside `CppSourceProcessor::checkFile(QString const&)` -> `QFileInfo::isFile()`

      makes me wonder if there's any way to avoid the system call, e.g. by using a local cache in combination with a filesystem watcher

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes