Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7087

Improve lookup performance

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.9.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-01-11
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      The hiera 5 implementation is 4 times as fast as the previous version for both automatic parameter lookup and direct calls to lookup. It is about 40% faster than direct calls to a classic Hiera instance. There is no noticeable difference between a lookup in the global layer, and in the environment layer.
      Show
      The hiera 5 implementation is 4 times as fast as the previous version for both automatic parameter lookup and direct calls to lookup. It is about 40% faster than direct calls to a classic Hiera instance. There is no noticeable difference between a lookup in the global layer, and in the environment layer.
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      perf

      Description

      The tests introduced in PUP-7086 revealed a couple of performance issues that needs to be addressed. One concerns unnecessary creation of MergeStrategy instances, and the other concerns unnecessary type validation for cases when no specific type has been given.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            thomas.hallgren Thomas Hallgren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support