iTwin / viewer-components-react

Components built on iTwin.js for usability in an iTwin.js based Viewer.
MIT License
24 stars 33 forks source link

Stateless Models Tree: Improve performance of Filter Dialog initial loading. #967

Closed Yato333 closed 3 months ago

Yato333 commented 3 months ago

Closes #914 Micro-optimization of calling KeySet.fromJson helps us to improve performance of key collection process by around 50% because it avoids calling inefficient KeySet.add method.

Even without these changes actual performance is much better that it seems. See issue comment for more details.

Screenshot 2024-06-19 161149