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

Improve power consumption using EcoQoS

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • All Other Issues
    • None

      It would be great if QtCreator could be more battery friendly on laptops by using QOS_CLASS_BACKGROUND on macos / EcoQoS on windows for background tasks.

      i'm mainly thinking about

      • all background tasks like indexing, scanning, parsing. for QThreads, it's possible to leverage QThread::QualityOfService::Eco
      • all background processes (clang-tidy, clazy etc). might be a little trickier, as afaict one may need to tweak the launching code
      • clangd does it out of the box already (maybe cherry-picking https://github.com/llvm/llvm-project/commit/860b1e68ea180672d0e02fa8328f4a7c45e16f0f for windows)
      • maybe adding an option to launch the compilation with a background QoS may also be interesting (in many cases one wants to compile "as fast as possible", but when working on battery one may want to compile "as efficiently as possible"

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

            vilavoniu Ville Lavonius
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes