summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/diff.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-01-25 20:54:01 +0100
committerJames Turnbull <james@lovedthanlost.net>2009-02-06 21:54:33 +1100
commitf01882da6284d61312016d7de602af65da6d5731 (patch)
tree6d117b27dc8f1d96489bca4dee9c38b2b43f7f76 /lib/puppet/util/diff.rb
parentb7ab54c7f094c34b9f80224a63521a2873d7c1c1 (diff)
downloadpuppet-f01882da6284d61312016d7de602af65da6d5731.tar.gz
puppet-f01882da6284d61312016d7de602af65da6d5731.tar.xz
puppet-f01882da6284d61312016d7de602af65da6d5731.zip
Change the way the tags and params are handled in rails
The rationale behind this patch is that it takes a lots of time to let rails unserialize the ParamValue and ResourceTag object on each compilation, just to throw them away the second after. The idea is to fetch directly (and batched host per host) the parameters and tags from the database and then returns them as hash. This allows the no-modification case to takes at least 2 times less than before. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/util/diff.rb')
0 files changed, 0 insertions, 0 deletions