Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33624

Improve performance of Pipeline Stage View even with very long FlowGraphs

XMLWordPrintable

      The algorithms in pipeline stage view cover the normal use case well, but have issues with excessively large FlowGraphs. This is most commonly caused when someone runs a loop (with steps and/or blocks embedded in it) that executes many times.

      To reproduce, create and run a build with the following pipeline code and then view in stageview:

      for(int i=0; i<9999; i++) {
         echo "Cycle ${i}"
      }
      

      The result is combination of high master CPU load, very long or incomplete UI requests, very large response datasets (MB), and/or high memory use.

            svanoort Sam Van Oort
            svanoort Sam Van Oort
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: