- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for BenchmarkUnmarshalMSS (0.09 seconds)
-
internal/grid/types_test.go
bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() for b.Loop() { bts, _ = v.MarshalMsg(bts[0:0]) } } func BenchmarkUnmarshalMSS(b *testing.B) { v := MSS{"abc": "def", "ghi": "jkl"} bts, _ := v.MarshalMsg(nil) b.ReportAllocs() b.SetBytes(int64(len(bts))) for b.Loop() { _, err := v.UnmarshalMsg(bts) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.6K bytes - Click Count (0)