On 5/12/08 19:41, Trevor Vaughan wrote:
> Hey all,
> 
> Does anyone know how to schlep puppetmasterd through a ruby profiler?

If you're on a platform that supports DTrace, you can use a ruby 
interpreter patched with the DTrace probe and some hand-crafter D scripts.

Or you can install ruby-prof, then patch the part of the puppetmaster 
you want to profile. See the ruby-prof documentation for more 
information. What is great with ruby-rpof is that it can outpout 
Kcachegrind files.

-- 
Brice Figureau
Days of Wonder
http://www.daysofwonder.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to