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

Add benchmark for QPromise/QtConcurrent, compare to std::promise/future

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None
    • qfuture-bench
    • Foundation PM Staging

    Description

      There appear to be no benchmarks for QtConcurrent and QPromise and the existing QFuture benchmark doesn't really test the overhead of QFuture over, say, sequential execution or std::packaged_task, or, for map() etc, C++17's parallel STL algorithms.

      Write a benchmark that allows to estimate the per-element overhead of QFuture/Interface/QtConcurrent::map/filter, compared to a) sequential execution and b) parallelized execution using b1) parallel STL and b2) std::promise/std::packaged_task.

      If we find we're much slower, create follow-up ticket for optimization opportunities.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes