MCPcopy Create free account
hub / github.com/DHowett/go-plist / BenchmarkOpenStepEncode

Function BenchmarkOpenStepEncode

encode_test.go:21–25  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

19}
20
21func BenchmarkOpenStepEncode(b *testing.B) {
22 for i := 0; i < b.N; i++ {
23 NewEncoderForFormat(&bytes.Buffer{}, OpenStepFormat).Encode(plistValueTreeRawData)
24 }
25}
26
27func TestEncode(t *testing.T) {
28 for _, test := range tests {

Callers

nothing calls this directly

Calls 2

NewEncoderForFormatFunction · 0.85
EncodeMethod · 0.80

Tested by

no test coverage detected