Files
ucan/delegation/schema_test.go
2024-09-09 08:49:35 -04:00

15 lines
212 B
Go

package delegation
import (
"testing"
"github.com/ipld/go-ipld-prime"
)
func BenchmarkSchemaLoad(b *testing.B) {
b.ReportAllocs()
for i := 0; i < b.N; i++ {
_, _ = ipld.LoadSchemaBytes(schemaBytes)
}
}