- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BenchmarkLookupFieldOrMethod (0.23 sec)
-
src/cmd/compile/internal/types2/lookup_test.go
package types2_test import ( "path/filepath" "runtime" "testing" . "cmd/compile/internal/types2" ) // BenchmarkLookupFieldOrMethod measures types.LookupFieldOrMethod performance. // LookupFieldOrMethod is a performance hotspot for both type-checking and // external API calls. func BenchmarkLookupFieldOrMethod(b *testing.B) { // Choose an arbitrary, large package. path := filepath.Join(runtime.GOROOT(), "src", "net", "http")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 15:31:35 UTC 2022 - 1.2K bytes - Viewed (0) -
src/go/types/lookup_test.go
import ( "go/importer" "go/token" "path/filepath" "runtime" "testing" . "go/types" ) // BenchmarkLookupFieldOrMethod measures types.LookupFieldOrMethod performance. // LookupFieldOrMethod is a performance hotspot for both type-checking and // external API calls. func BenchmarkLookupFieldOrMethod(b *testing.B) { // Choose an arbitrary, large package. path := filepath.Join(runtime.GOROOT(), "src", "net", "http")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 15:31:43 UTC 2022 - 1.2K bytes - Viewed (0)