Issue #8047 has been updated by Randall Hansen.

Project changed from Commercial edition to Puppet Dashboard
Parent task deleted (#7715)


----------------------------------------
Bug #8047: Rendering a large inspect report is painfully slow.
https://projects.puppetlabs.com/issues/8047

Author: Daniel Pittman
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 
Affected Dashboard version: 


Rendering a large inspect report (eg: one node, 1,000 resources, ~ 6 properties 
per resource) is painfully slow.  Ten to fifteen seconds slow, on my machine, 
which isn't that much fun.

This is dominated by the view rendering time; an example is:

<pre>
Rendered reports/_resource_statuses (9613.1ms)
Rendered reports/_report (11021.2ms)
Completed in 11710ms (View: 10782, DB: 920) | 200 OK 
[http://localhost/reports/2]
</pre>

The database time is dominated by:

<pre>
  ResourceEvent Load (0.3ms)   SELECT * FROM `resource_events` WHERE 
(`resource_events`.resource_status_id = 2952) 
  SQL (0.3ms)   SELECT count(*) AS count_all FROM `resource_events` WHERE 
(`resource_events`.resource_status_id = 15) 
</pre>

So, it looks like the number of lines on the "Events" panel is the root cause.  
Time, I think, to paginate the content on that tab.  Which should be fun when 
it interacts with the rest of that page, oh, yes.


-- 
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