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

Short benchmark durations displayed as zero

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 16.0.2
    • Test Integration
    • None
    • Ubuntu 24.04 LTS
      Creator 16.0 branch built on self-built Qt 6.9.0

    Description

      1. Open qtsvg's benchmark project in Creator.
        It's in tests/benchmarks/svg/qsvgrenderer/ of the qtsvg module.
        I configured it to run on my clang-based build of Qt's dev branch.
      2. Run the benchmark using Creator's test integration ("Run this test").
      3. Run the benchmark as a normal application in Creator (Ctrl+R).
      4. Compare the results.
        Expected: The displayed durations are (roughly) the same.
        Actual: All durations shorter than 10ms seem to be rounded down to zero in the test results, even though they have a nonzero value in the application output.
        I attached my results.

      Attachments

        1. appoutput.log
          3 kB
        2. testresults.log
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cstenger Christian Stenger
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes