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

REGRESSION: Performance #472

Open
boyter opened this issue May 29, 2024 · 1 comment
Open

REGRESSION: Performance #472

boyter opened this issue May 29, 2024 · 1 comment

Comments

@boyter
Copy link
Owner

boyter commented May 29, 2024

Describe the bug

The latest release which includes the new git logic pulled from gocodewalker has made scc much slower than is used to be.

To Reproduce

Compare version before and after the change.

Expected behavior

Would be nice to have the speed back.

@boyter boyter changed the title REGRESSION: Perforamcen REGRESSION: Performance May 30, 2024
@boyter
Copy link
Owner Author

boyter commented May 30, 2024

First tweak by modifying gocodewalker to walk in parallel and cache some calls. Still more work needed to close the gap, as on a 32 core machine scc counts the linux kernel in ~1 second while tokei is ~700ms.

image

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