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

Performance: Rewriting RoleMap#RoleWalker such that it includes a breaking(aborting) logic, reducing the execution time in many cases and avoid creation of new collection for roles every time RoleWalker is invoked, reducing the memory usage.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • role-strategy-plugin
    • None

      Current implementation of RoleMap does not have logic to abort or break the flow after a particular role, if there were such feature, running time can be reduced in a number of cases. Further every time RoleWalker is called, it invokes walk() which creates a new collection of roles every time, it can be avoided.

            deepansh_nagaria Deepansh Nagaria
            deepansh_nagaria Deepansh Nagaria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: