Issue #4865 has been updated by Nigel Kersten.

Subject changed from Print out time take on client in debug messages to Puppet 
debug mode should print resource type/title before resource evaluation and time 
taken after.
Status changed from Needs design decision to Accepted
Assignee deleted (Nigel Kersten)

To clarify, because the debug mode in puppet only prints the resource name 
*after* it has been evaluated, it's difficult to watch a debug run and get a 
sense of which resources are hanging.

Additionally, if we could print the time taken *after* the resource has been 
evaluated, this would allow post-run viewing of a debug log file to identify 
performance problems.

These two features would significantly improve debugging performance problems 
with regard to the client applying the catalog.
----------------------------------------
Feature #4865: Puppet debug mode should print resource type/title before 
resource evaluation and time taken after.
https://projects.puppetlabs.com/issues/4865

Author: James Turnbull
Status: Accepted
Priority: High
Assignee: 
Category: error reporting
Target version: Statler
Affected Puppet version: 2.6.1
Keywords: 
Branch: 


1) Only on the client 
2) Time taken during each atomic activity

So:

notice: File....... 0.05s 
notice: Exec...... 1.2s

Ideally, this data would only be collected during debug mode. 

This is for the case where you have something hanging, but you can't figure out 
what it is because the debug mode in puppet only prints the statement *after* 
it has run it. This would let everyone determine the hang points, or points of 
precise optimization.

If there's already a way to get this information, that would be great too. 
--summarize just isn't quite fine grained enough.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

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

Reply via email to