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

Speeding up execution time for large go projects #27

Closed
afbjorklund opened this issue May 12, 2021 · 1 comment · Fixed by #28
Closed

Speeding up execution time for large go projects #27

afbjorklund opened this issue May 12, 2021 · 1 comment · Fixed by #28

Comments

@afbjorklund
Copy link
Contributor

afbjorklund commented May 12, 2021

Currently it takes around 10 seconds, for a project with around 1000 tests.

[go-test-report] finished in 11.258970993s

This means it takes almost as long to generate report, as to run the tests...

DONE 924 tests, 2 skipped in 15.500s


Most of the time is spent running go list -json

This can be done in parallel (go), or even cached (file).

Parallel: [go-test-report] finished in 8.929561069s

Cached: [go-test-report] finished in 109.123483ms

@vakenbolt
Copy link
Owner

This is really really cool!! Awesome work and thanks for doing this. The performance benefit as a result of this PR is fantastic! I'll merge this tonight. 🍻

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

Successfully merging a pull request may close this issue.

2 participants