HomePhorge

Merge branch 'perf/2.7.x/backport-reduce-memory-footprint' of https://github.
b7657d08871cUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Merge branch 'perf/2.7.x/backport-reduce-memory-footprint' of https://github.com/daniel-pittman/puppet into 2.7.x

  • 'perf/2.7.x/backport-reduce-memory-footprint' of https://github.com/daniel-pittman/puppet: Implement Fixnum#ord for Ruby 1.8.5 tagging: use a static regexp rather than rebuilding it file_serving: avoid rewriting paths if possible. log_paths: memoize the entire value, not just part of it. zaml: speed micro-optimization for Time output whit: cache the to_s result. zaml: don't sort object attributes for output util: don't rebuild regexp every time we invoke absolute_file? parser/files: use a cheaper test for "is this path absolute?" Eliminate remaining uses of FileCollection. FileCollection is a memory loss, not a memory win. type: support implicit "identity" transformation monkey_patch: cache Symbol to_proc result. lexer: remove some unused stats collection tagging: document why fixing this horror is hard. type: memoize key_attributes for types. Avoid object creation/destruction when possible.

Event Timeline

Merged Changes