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

var completionGOPATH

type completionBenchOptions

// Deprecated: new tests should be expressed in BenchmarkCompletion.
func benchmarkCompletion(options completionBenchOptions, b *testing.B) {}

// endRangeInBuffer returns the position for last character in the buffer for
// the given file.
func endRangeInBuffer(env *Env, name string) protocol.Range {}

// Benchmark struct completion in tools codebase.
func BenchmarkStructCompletion(b *testing.B) {}

// Benchmark import completion in tools codebase.
func BenchmarkImportCompletion(b *testing.B) {}

// Benchmark slice completion in tools codebase.
func BenchmarkSliceCompletion(b *testing.B) {}

// Benchmark deep completion in function call in tools codebase.
func BenchmarkFuncDeepCompletion(b *testing.B) {}

type completionTest

var completionTests

// Benchmark completion following an arbitrary edit.
//
// Edits force type-checked packages to be invalidated, so we want to measure
// how long it takes before completion results are available.
func BenchmarkCompletion(b *testing.B) {}

var gomodcache

func runCompletion(b *testing.B, test completionTest, followingEdit, completeUnimported bool, budget string) {}