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

Typemanager wastes CPU cycles with global scope defined types

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      Defined type defined in a global scope will make MetaType::Manager go through all known code locations (modules, gems, loadpaths, etc) looking for that_type.rb

      That combined with a fact that code locations are not cached makes puppet slow when working with large repositories.

      I'm preparing 2 PRs related to this issue.

      Attachments

        Issue Links

          Activity

            People

              kylo Kylo Ginsberg
              maksym Maksym Melnychok
              Erik Dasher Erik Dasher
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support