package object import ( "testing" objecttest "git.frostfs.info/TrueCloudLab/aarifullin/v2/object/test" ) func BenchmarkObjectMarshal(b *testing.B) { obj := objecttest.GenerateObject(false) b.Run("marshal", func(b *testing.B) { b.ReportAllocs() obj.StableMarshal(nil) }) }