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

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

XMLWordPrintable

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

      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.

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

            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

              Created:
              Updated:

                There are no open Gerrit changes