Groups
Groups
Sign in
Groups
Groups
Puppet Developers
Conversations
About
Send feedback
Help
Puppet::Environments::get_conf() results caching benchmark
10 views
Skip to first unread message
Bostjan Skufca
unread,
Apr 15, 2015, 10:35:34 PM
4/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
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.
Bostjan Skufca
unread,
Apr 15, 2015, 10:48:52 PM
4/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages