gotools/gopls/internal/test/integration/bench/iwl_test.go

// BenchmarkInitialWorkspaceLoad benchmarks the initial workspace load time for
// a new editing session.
//
// The OpenFiles variant of this test is more realistic: who cares if gopls is
// initialized if you can't use it? However, this test is left as is to
// preserve the validity of historical data, and to represent the baseline
// performance of validating the workspace state.
func BenchmarkInitialWorkspaceLoad(b *testing.B) {}

// BenchmarkInitialWorkspaceLoadOpenFiles benchmarks the initial workspace load
// after opening one or more files.
//
// It may differ significantly from [BenchmarkInitialWorkspaceLoad], since
// there is various active state that is proportional to the number of open
// files.
func BenchmarkInitialWorkspaceLoadOpenFiles(b *testing.B) {}

func doIWL(b *testing.B, gopath string, repo *repo, openfiles []string) {}