- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkFieldByName2 (0.15 sec)
-
src/reflect/benchmark_test.go
Y int Z int } func BenchmarkFieldByName1(b *testing.B) { t := TypeOf(B1{}) b.RunParallel(func(pb *testing.PB) { for pb.Next() { t.FieldByName("Z") } }) } func BenchmarkFieldByName2(b *testing.B) { t := TypeOf(S3{}) b.RunParallel(func(pb *testing.PB) { for pb.Next() { t.FieldByName("B") } }) } func BenchmarkFieldByName3(b *testing.B) { t := TypeOf(R0{})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Nov 19 17:09:03 UTC 2023 - 8.8K bytes - Viewed (0)