Fix incorrect method name in benchmark.
This commit is contained in:
parent
cfa7691d14
commit
939a98fa97
@ -10,7 +10,7 @@ func BenchmarkGenerate(b *testing.B) {
|
|||||||
|
|
||||||
b.ReportAllocs()
|
b.ReportAllocs()
|
||||||
for n := 0; n < b.N; n++ {
|
for n := 0; n < b.N; n++ {
|
||||||
_, _ = node.GenerateNoSleep()
|
_, _ = node.Generate()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user