Refactor taxonomy hierarchy plugin for performance

Created on 29 January 2021, over 3 years ago
Updated 25 May 2024, about 1 month ago

Problem/Motivation

The page request is very slow with large hierarchical facets, we don't need the children lookup for every link.

Steps to reproduce

Enable the use hierarchy option, setup facets with hierarchical taxonomy vocabulary of 100+ items

Proposed resolution

Replace getNestedChildIds with a faster method

Remaining tasks

Patch attached here, functionnality is preserved

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France B2F

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024