+ beginning_time = Time.now
Puppet.info "Caching #{self.name} for #{request.key}"
cache.save request(:save, result, *args)
+ Puppet.debug "Caching catalog time: #{(Time.now -
beginning_time)}"
Here're my results for a catalog of ~2000 resources, some of which are
tidys of big directories:
Here some results for a host with ~5K of resources:
[root@xxx (staff) ~]# ruby -v
ruby 1.8.6 (2010-09-02 patchlevel 420) [x86_64-linux]
[root@xxx (staff) ~]# lsb_release
LSB Version:
:core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
[root@xxx (staff) ~]# cat /etc/redhat-release
CentOS release 5.8 (Final)
[root@xxx (staff) ~]# rpm -qa | grep puppet
puppet-2.6.14-1.1.el5.centos
info: Caching catalog time: 102.1323
Compilation time is about 160.12s, probably switching to PuppetDB will
also save me here. ;)
~pete
--
You received this message because you are subscribed to the Google Groups "Puppet
Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.