- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkConcatImplementation (0.16 sec)
-
cmd/object-api-utils_test.go
for b.Loop() { concatNaive(data...) } }) b.Run("concat fast", func(b *testing.B) { b.ResetTimer() b.ReportAllocs() for b.Loop() { concat(data...) } }) } func BenchmarkConcatImplementation(b *testing.B) { data := make([]string, 2) rng := rand.New(rand.NewSource(0)) for i := range 2 { var tmp [16]byte rng.Read(tmp[:]) data[i] = hex.EncodeToString(tmp[:]) } b.ResetTimer()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0)