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

Feature Tree Performance Round 3: One Tooltip component for the whole tree #138

Closed dpasque closed 1 year ago

dpasque commented 1 year ago

What Does This PR Add/Change?

Now we use just one Tooltip component for the whole tree, and use the data attributes instead to populate that tooltip.

In profiles, the Tooltip was showing up as one of the more expensive components, so this should improve things!

And sure enough, it decreased the React commit phase time by about 300%! In my tests, that phase went on average from about ~150ms to ~50ms 🚀

Testing Instructions

*

Issues

Related to #
Closes #