Update benchmark for vinculum support

This commit is contained in:
2024-10-27 00:20:25 -04:00
parent 3e38327aa4
commit 6148897d85
2 changed files with 14 additions and 3 deletions
+8 -1
View File
@@ -45,6 +45,13 @@ func TestFromInt(t *testing.T) {
func BenchmarkFromInt(b *testing.B) {
b.ReportAllocs()
for i := 0; i < b.N; i++ {
_ = FromInt(3999)
_ = FromInt(3999999)
}
}
func BenchmarkFromIntCapital(b *testing.B) {
b.ReportAllocs()
for i := 0; i < b.N; i++ {
_ = FromIntCapital(3999999)
}
}