Fix incorrect method name in benchmark.
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user