Bug #31990
Edit “Puppet Classes” and “Smart Class Parameters” extremely slow
Difficulty:
Triaged:
No
Description
It seems that the usage // initialization of active tooltips //javascript results in very slow page loading time for big environment (huge number of host, puppetclasses,...). Further explanation / test resulsts can be found in the topic https://community.theforeman.org/t/foreman-2-2-2-edit-puppet-classes-and-smart-class-parameters-extrem-slow/22399/17
Associated revisions
History
#1
Updated by Tomer Brisker about 2 years ago
- Subject changed from Foreman 2.2.2 - Edit “Puppet Classes” and “Smart Class Parameters” extrem slow to Edit “Puppet Classes” and “Smart Class Parameters” extrem slow
#2
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8364 added
#3
Updated by The Foreman Bot about 2 years ago
- Fixed in Releases 2.5.0 added
#4
Updated by Tomer Brisker about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|5bc61db974076d7c14c3b7bf9833025fd2b595d4.
#5
Updated by The Foreman Bot about 2 years ago
- Pull request https://github.com/theforeman/foreman/pull/8381 added
#6
Updated by Tomer Brisker about 2 years ago
- Fixed in Releases 2.4.0 added
- Fixed in Releases deleted (
2.5.0)
#7
Updated by Tomer Brisker about 2 years ago
- Subject changed from Edit “Puppet Classes” and “Smart Class Parameters” extrem slow to Edit “Puppet Classes” and “Smart Class Parameters” extremely slow
extremely
Fixes #31990 - Optimize tooltip and popover initialization
Instead of iterating over all elements with tooltips or popovers and
initializing each one seperately, initialize them once with a selector
to identify which elements should have them. On pages with hundreds or
thousands of tooltips and popovers this could have a significant
performance impact on the page rendering.