Skip to content

[dev.fuzz] proposal: add flag to control parallelism #44139

Closed
@dsnet

Description

@dsnet

@jayconrod @katiehockman

Currently go test -fuzz=MyFunc seems to spin up a number of workers equal to the number of cores on the machine. The default is reasonable, but it would be nice to provide a flag to control the number of workers. I'd like to set it to 1/2 or even 1/4 of the cores I have, so I can run fuzzing in the background as I work, and not have my computer become unresponsive.

The older go-fuzz tool has a -procs flag to accomplish this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.fuzzIssues related to native fuzzing support

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions