8000 BED-5810 - Make stbernard Less Aggressive during Golang Code Generation by zinic · Pull Request #1387 · SpecterOps/BloodHound · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BED-5810 - Make stbernard Less Aggressive during Golang Code Generation #1387

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

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

zinic
Copy link
Contributor
@zinic zinic commented Apr 22, 2025

Description

The golang code generation step contains a goroutine amplification trap that clobbers the snot out of my local machine every time I run generation steps. This causes skips in my Doom playthrough videos which requires me to then break flow and rewind them.

Motivation and Context

Resolves BED-5810

This is just a little nicer to developer machines by limiting concurrency and consuming more IO operations. The changeset also addresses the nested goroutine amplification trap.

How Has This Been Tested?

Code generation looks good!

Types of changes

  • Chore (a change that does not modify the application functionality)

Checklist:

@zinic zinic added the tooling This updates developer tooling label Apr 22, 2025
…to num CPU workers and eagerly skip package directories that do not contain code generation directives
Copy link
Contributor
@superlinkx superlinkx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zinic zinic merged commit 78e8413 into main Apr 22, 2025
8 checks passed
@zinic zinic deleted the BED-5810 branch April 22, 2025 23:08
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2025
Sign up for free to subscribe t 5F95 o this conversation on GitHub. Already have an account? Sign in.
Labels
tooling This updates developer tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0