Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad usability on bigger projects (>1000s files) #1083

Open
Drowze opened this issue Mar 20, 2024 · 0 comments
Open

Bad usability on bigger projects (>1000s files) #1083

Drowze opened this issue Mar 20, 2024 · 0 comments

Comments

@Drowze
Copy link

Drowze commented Mar 20, 2024

Hello 👋

First of all, thanks a lot on the fantastic project! I've been using simplecov since I started working with Ruby years ago. It's fantastic that we have this available for the community 😄

That being said, I'm currently working in projects that are farily big recently and, my biggest struggle with Simplecov lately is actually opening the generated HTML - it loads the full project source code into a single html file. This is fine for small and medium-sized projects, but gets quickly slow and un-manageable for bigger projects (in my case according simplecov, 5k files, 82k relevant lines and 175k branches). My browser nearly crashes due to high memory usage when trying to open the generated HTML. See:
Screenshot 2024-03-20 at 09 56 47

Given that simplecov generates a static html, I'm not 100% sure of what would be the best solution (if we want to stick with static html) but this is a discussion I'd like to raise! Has there been any thought around the usability of simplecov for bigger projects?

By the way, while I know this might be a simplecov-html issue, I believe this might require some changes here on the main repo as well, so I think it's better to bring the discussion here first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant