ruler icon indicating copy to clipboard operation
ruler copied to clipboard

Html file is slow and stopping to respond

Open radimjanda754 opened this issue 2 years ago • 2 comments

Current behavior

Currently for large projects (500+) components, the Html report seems to be very slow - for example I wait like 5-10 seconds when I'm switching from Ownership section to Breakdown section. On Ownership section the Html file even completly stops responding when I choose to see components by owner who has too many components (500+-)

Expected behavior

Html file works smoothly

Steps to reproduce

Project with many components 500+, 10k files

Versions

No response

Anything else?

No response

radimjanda754 avatar Jun 01 '22 11:06 radimjanda754

Thanks for reporting this, we're actually facing the same problem internally. We spent some time to look into this and found that it's probably related to the fact that we render the whole table at once. We didn't have time to investigate in detail yet but our guess would be that leveraging something like react-virtual and/or react-table could help solve this problem.

The priority of this unfortunately isn't super high for us, but we want to fix it eventually. We're open to contributions if somebody is interested.

simonschiller avatar Jun 02 '22 13:06 simonschiller

To give an update on this - we are limited in front end capacity and will not actively work on this in the foreseeable future. We would be very appreciative of contributions!

botronic avatar Sep 07 '22 13:09 botronic