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

Active choices very slow when there are many items

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • active-choices-plugin
    • None
    • - Java 8
      - CentOS 7 64 bits
      - 8 cores
      - Jenkins 2.104
      - Active choices 2.1 (latest version)
      - 32 Gb RAM

      A create an empty job that has as parameter only an Active Choice, with this parameters:

      • Groovy script:
        (1..700).collect { it.toString() }
      • Muti select
      • Enable filters

      For opening the form for asking parameters, it takes 18 seconds!!!!!!!

      I find it too much.

      Everything else in Jenkins is quite fast.

          [JENKINS-50170] Active choices very slow when there are many items

          david perez created issue -
          david perez made changes -
          Environment Original: Java 8, CentOS 7 64 bits, Jenkins, 32 Gb RAM New: Java 8, CentOS 7 64 bits, Jenkins 2.104, Active choices 2.1 (latest version), 32 Gb RAM
          david perez made changes -
          Environment Original: Java 8, CentOS 7 64 bits, Jenkins 2.104, Active choices 2.1 (latest version), 32 Gb RAM New: - Java 8
          - CentOS 7 64 bits
          - Jenkins 2.104
          - Active choices 2.1 (latest version)
          - 32 Gb RAM
          david perez made changes -
          Description Original: A create an empty job that has as parameter only an Active Choice, with this parameters:
           * Groovy script:
          {code:java}
          (1..700).collect { it.toString() }{code}

           * Muti select
           * Enable filters

          When launching the job, it takes 18 seconds!!!!!!!

          I find it too much.

          Everything else in Jenkins is quite fast.
          New: A create an empty job that has as parameter only an Active Choice, with this parameters:
           * Groovy script:
          {code:java}
          (1..700).collect { it.toString() }{code}

           * Muti select
           * Enable filters

          For opening the form for asking parameters, it takes 18 seconds!!!!!!!

          I find it too much.

          Everything else in Jenkins is quite fast.
          david perez made changes -
          Environment Original: - Java 8
          - CentOS 7 64 bits
          - Jenkins 2.104
          - Active choices 2.1 (latest version)
          - 32 Gb RAM
          New: - Java 8
          - CentOS 7 64 bits
          - 8 cores
          - Jenkins 2.104
          - Active choices 2.1 (latest version)
          - 32 Gb RAM
          david perez made changes -
          Attachment New: parameter.png [ 41825 ]
          david perez made changes -
          Description Original: A create an empty job that has as parameter only an Active Choice, with this parameters:
           * Groovy script:
          {code:java}
          (1..700).collect { it.toString() }{code}

           * Muti select
           * Enable filters

          For opening the form for asking parameters, it takes 18 seconds!!!!!!!

          I find it too much.

          Everything else in Jenkins is quite fast.
          New: A create an empty job that has as parameter only an Active Choice, with this parameters:
           * Groovy script:
          {code:java}
          (1..700).collect { it.toString() }{code}

           * Muti select
           * Enable filters

          !parameter.png|thumbnail!

          For opening the form for asking parameters, it takes 18 seconds!!!!!!!

          I find it too much.

          Everything else in Jenkins is quite fast.

          Steven Adams added a comment -

          I am also experiencing this. Jobs where i use active choices build params are taking 20+ seconds to load the "Build with Params" page.

           

          Jobs that do not any active choices build parameters, load in 800ms.

           

          Any ideas/suggestions on how to t-shoot this?

          Steven Adams added a comment - I am also experiencing this. Jobs where i use active choices build params are taking 20+ seconds to load the "Build with Params" page.   Jobs that do not any active choices build parameters, load in 800ms.   Any ideas/suggestions on how to t-shoot this?

            kinow Bruno P. Kinoshita
            davidperez david perez
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: