I am terribly sorry for premature post! Once I removed all the debugging output, the results were quite different:
- 9.5 seconds without the cache - 7.5 seconds using cache Still, this is about 20% speedup which I could quite use. Is it safe? :) b. On Thursday, 16 April 2015 04:35:34 UTC+2, Bostjan Skufca wrote: > > I've just benchmarked catalog compilation, with and without caching > results in Puppet::Environments::get_conf() function. > > Without cache: 19 seconds (to compile catalog of 1633 resources) > With cache: 9 seconds. > > Again I wonder: why are results of Puppet::Environments::get_conf() not > cached? > > > Thanks for the answer, > b. > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/c2992bd7-bda2-4a1e-bc6d-195d9f2a9194%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
