Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14091

Taxonomy editor has extreme slow performance

    XMLWordPrintable

Details

    Description

      In a case where a client has a taxonomy tree of around 700 categories, hitting the "Edit" button on a taxonomy tree in the CMS takes 70+ seconds on a live environment. Locally it is better but slow as well, e.g. 10s of seconds.

      Reproduction

      • Import the taxonomy tree from the client case
      • Try to edit it in the CMS

      Initial analysis

      The client reports massive disk I/O, i.e. writes to the repo but not sure this is the cause.

      CMS Diagnostics shows a big gap on highest level:

      15.10.2020 12:16:41 +0200 [catalina-exec-73] INFO  [org.hippoecm.frontend.diagnosis.DiagnosticsRequestCycleListener.onEndRequest():72] Diagnosis Summary:
      - cms (27993ms): {request=?1-1.IBehaviorListener.0-root-tabs-panel~container-cards-3-panel-center-tabs-panel~container-cards-0-panel-editor-extension.workflow-menu-list-0-item-link&iframe&_=1602756781300}
        |- PluginPage.processEvents (244ms): {}
        |- PluginPage.render (565ms): {}
        |- AbstractRenderService.onBeforeRender (499ms): {pluginClass=org.hippoecm.frontend.editor.AbstractCmsEditor$EditorWrapper, pluginConfig=null}
        |- AbstractRenderService.onAfterRender (0ms): {pluginClass=org.onehippo.taxonomy.plugin.TaxonomyEditorPlugin, pluginConfig=home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.hippostdEditorFactory.cluster.cms-editor.plugin.editorPlugin.cluster._default_.plugin.root}

       Local debugging shows a big time gap between

      • clicking the Edit button
      • hitting a break point on org.hippoecm.frontend.PluginRequestTarget#respond which initiates rendering.

       

       

      Attachments

        1. Current taxonomy time.png
          Current taxonomy time.png
          81 kB
        2. Orignal taxonomy time.png
          Orignal taxonomy time.png
          101 kB
        3. profiler1.png
          profiler1.png
          274 kB
        4. Screenshot 2023-05-30 at 15.43.42.png
          Screenshot 2023-05-30 at 15.43.42.png
          52 kB
        5. Screenshot 2023-05-30 at 15.50.30.png
          Screenshot 2023-05-30 at 15.50.30.png
          93 kB
        6. Screenshot 2023-06-01 at 15.28.46.png
          Screenshot 2023-06-01 at 15.28.46.png
          229 kB
        7. Screenshot 2023-06-01 at 15.29.27.png
          Screenshot 2023-06-01 at 15.29.27.png
          261 kB
        8. Screenshot 2023-06-05 at 12.52.28.png
          Screenshot 2023-06-05 at 12.52.28.png
          165 kB
        9. Taxonomies_loading_14091.mov
          4.60 MB
        10. taxonomy.png
          taxonomy.png
          96 kB

        Issue Links

          Activity

            People

              smudgal Shikha Mudgal
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: