- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkInterfaceSmall (0.17 sec)
-
src/reflect/benchmark_test.go
} func BenchmarkInterfaceBig(b *testing.B) { v := ValueOf(S{}) b.RunParallel(func(pb *testing.PB) { for pb.Next() { v.Interface() } }) b.StopTimer() } func BenchmarkInterfaceSmall(b *testing.B) { v := ValueOf(int64(0)) b.RunParallel(func(pb *testing.PB) { for pb.Next() { v.Interface() } }) } func BenchmarkNew(b *testing.B) { v := TypeOf(XM{})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Nov 19 17:09:03 UTC 2023 - 8.8K bytes - Viewed (0)