Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Performance trend in Jenkins
Forum Updated to NodeBB v4.3 + New Features

Performance trend in Jenkins

Scheduled Pinned Locked Moved Unsolved General and Desktop
qbenchmarkjenkinsunit tests
7 Posts 4 Posters 2.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alain Paradis
    wrote on 1 Jun 2017, 19:20 last edited by
    #1

    Is there a way to get QBENCHMARK performance trend in Jenkins? There is a few Jenkins plugins for that purpose but their input formats are not available under QTest unit test applications output choices.
    Thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 1 Jun 2017, 19:49 last edited by
      #2

      Hi and welcome to devnet,

      What format are they using ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alain Paradis
        wrote on 2 Jun 2017, 14:16 last edited by
        #3

        Thank you SGaist

        Each Jenkins performance plugin uses different formats. For example, the following plugin https://plugins.jenkins.io/perfpublisher uses this format : DTD report

        Unfortunetly, the XUnit format (option -xunitxml) of the QTest applications don't output any benchmark data while Jenkins plugins could use it.

        The options : -csv -xml -lightxml outputs benchmark data but I didn't found any Jenkins plugin for those formats.

        Is there a converter somewhere ?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VRonin
          wrote on 2 Jun 2017, 14:51 last edited by
          #4

          I use Jenkins but I only use unit tests rather than benchmarks so I can't be certain but I feed -xml output to plugins that expect XUnit and works fine

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Alain Paradis
            wrote on 2 Jun 2017, 15:47 last edited by
            #5

            Yes that's right. Jenkins unit test plugins can process -xml output. It works fine. But Jenkins performance plugins dont recognize this format.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Alain Paradis
              wrote on 5 Jun 2017, 13:55 last edited by
              #6

              If there is not way to get benchmark trend running in Jenkins, maybe I could develop a converter. Something like this :

              $ ./myQtTests -x lightxml | ./myConverter > supportedJenkinsPluginFormat.xml
              

              ... unfortunately, it's very time consuming :(

              If someone else know a better solution...

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vcamblor
                wrote on 20 Apr 2020, 08:55 last edited by
                #7

                Hello. We have exactly the same problem and so far we haven't found a solution. Would it be too much trouble to send us that xml conversion project?

                Thank you very much.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved