Foreman 2.2.2 - Edit "Puppet Classes" and "Smart Class Parameters" extrem slow

Below you can find the results of my test. It seems that el.find('*[title]') is the “peformance killer”. I repeated every test 3 times to get a baseline. Between every test, i cleaned up the public assets folder, temp folder and recompiled assets//webpack.

Baseline

  1. 2021-03-02T08:41:50.929439+01:00
    2021-03-02T08:42:46.699535+01:00
    ~ 56s

  2. 2021-03-02T08:43:04.615961+01:00
    2021-03-02T08:43:59.622532+01:00
    ~ 55s

  3. 2021-03-02T08:44:21.550247+01:00
    2021-03-02T08:45:12.430157+01:00
    ~ 52s

removed "el.find(’[rel=“twipsy”]’)"

  1. 2021-03-02T09:09:47.303858+01:00
    2021-03-02T09:10:39.489549+01:00
    ~ 52s

  2. 2021-03-02T09:12:36.973146+01:00
    2021-03-02T09:13:28.266369+01:00
    ~ 52s

  3. 2021-03-02T09:15:39.743755+01:00
    2021-03-02T09:16:31.669529+01:00
    ~ 52s

removed "el.find(’.ellipsis’).tooltip"

  1. 2021-03-02T09:26:32.777766+01:00
    2021-03-02T09:27:38.726520+01:00
    ~ 66s

  2. 2021-03-02T09:29:13.681082+01:00
    2021-03-02T09:30:06.394817+01:00
    ~ 53s

  3. 2021-03-02T09:31:31.692074+01:00
    2021-03-02T09:32:26.305415+01:00
    ~ 55s

removed "el.find(’*[title]’)"

  1. 2021-03-02T09:41:00.995855+01:00
    2021-03-02T09:41:12.580233+01:00
    ~ 12s

  2. 2021-03-02T09:43:12.999344+01:00
    2021-03-02T09:43:24.552562+01:00
    ~ 12s

  3. 2021-03-02T09:45:00.353146+01:00
    2021-03-02T09:45:12.205014+01:00
    ~ 12s

1 Like