Automattic / bugomattic

Bugomattic is a tool that guides bug reporters to the right actions within large, complex organizations
GNU General Public License v2.0
6 stars 0 forks source link

Tree performance round 1: just rebuild the whole thing on search #135

Closed dpasque closed 1 year ago

dpasque commented 1 year ago

What Does This PR Add/Change?

This is a round 1 of performance improvements to the features selection tree.

Simply put, reconciling changes to a large tree (lots of items expanded) on a new search term is reallllly slow.

It's almost always faster to just rebuild the whole tree from scratch!

To do that, we key the tree off of the search term. That forces a rebuild on every search update

Testing Instructions

If you expand everything, then do a search (like "Word"), things should be way faster now!

Issues

Related to #134 Closes #