Project

General

Profile

Bug #31990

Edit “Puppet Classes” and “Smart Class Parameters” extremely slow

Added by Christian Fuchs about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

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

Revision 5bc61db9 (diff)
Added by Tomer Brisker about 1 month ago

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.

History

#1 Updated by Tomer Brisker about 2 months 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 months 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 1 month ago

  • Fixed in Releases 2.5.0 added

#4 Updated by Tomer Brisker about 1 month ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot about 1 month ago

  • Pull request https://github.com/theforeman/foreman/pull/8381 added

#6 Updated by Tomer Brisker about 1 month ago

  • Fixed in Releases 2.4.0 added
  • Fixed in Releases deleted (2.5.0)

#7 Updated by Tomer Brisker about 1 month ago

  • Subject changed from Edit “Puppet Classes” and “Smart Class Parameters” extrem slow to Edit “Puppet Classes” and “Smart Class Parameters” extremely slow

extremely

Also available in: Atom PDF