Skip to content

cmd/vet: add compilebench to track 'go vet std' #28819

Description

@alandonovan

We should update compilebench to measure the cost of cmd/vet analysis.

  go install cmd/vet
  for i in 1 2 3 4 5
  do
    go clean -cache
    time go vet std >/dev/null 2>&1 # clean build
    time go vet std >/dev/null 2>&1 # noop incremental build
  done

Metadata

Metadata

Assignees

No one assigned

    Labels

    AnalysisIssues related to static analysis (vet, x/tools/go/analysis)NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolSpeed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions