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

Create a benchmark framework for QFuture / QtConcurrent

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • None

      To boot the epic, create a tst_bench_qtconcurrent with building blocks for later extension.

      This first benchmark should allow to configure (or run a range of) work items of different (CPU, no I/O) duration: e.g.

      • FP addition
      • FP sqrt
      • atomic int increase
      • memcpy of different sized buffers
      • ...
      • QString::toLower() of differently-sized strings
      • ...
      • QImage::transform() (note this may use QThreadPool under the hood) of differently-sized images
      • ...

      And the total number of these items to run. This defines the working set for the benchmark runs.

      The first actual benchmark should then compare the wall-clock execution time for running the working set in

      • sequential
      • parallel with multi-valued QFuture (resultAt) using 1..N threads

      This is already a 3d data set, so one might want to visualize it in some clever way.

        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:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes