Add bench testing
This commit is contained in:
parent
654498ad8b
commit
332dd2a6d4
@ -81,7 +81,7 @@ func BenchmarkUpgradeId(b *testing.B) {
|
||||
for _, bm := range benchmarks {
|
||||
b.Run(bm.name, func(b *testing.B) {
|
||||
for i := 0; i < b.N; i++ {
|
||||
|
||||
UpgradeId(bm.id)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user