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

Reading services on Mac is very slow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.8.5, PUP 4.3.2
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      Client 2015-12-02, Client 2015-12-16
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Querying service enablement status on Mac OS X is now significantly faster.

      Description

      Currently Puppet runs `plutil -convert xml1` on EVERY plist it encounters because it has no way of supporting binary plist files. This occurs even if the plist is a text file.

      Speed up reading plists so it doesn't take 30 seconds to do so. The most promising approach to this is to first try reading the plist file as text, and if that fails (which happens immediately with binary plists) pipe it through plutil.

      Measurements demonstrating that this gives significant performance improvements are attached to PUP-1455.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              michael.smith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support