mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
fix
This commit is contained in:
parent
095b466434
commit
dc78fceb7a
1 changed files with 0 additions and 1 deletions
|
|
@ -88,7 +88,6 @@ func timedExec(bench bool, execFunc func() ([]byte, uint64, error)) (output []by
|
||||||
var gasUsed uint64
|
var gasUsed uint64
|
||||||
output, gasUsed, execErr = execFunc()
|
output, gasUsed, execErr = execFunc()
|
||||||
var benchErr error
|
var benchErr error
|
||||||
testing.Init()
|
|
||||||
result := testing.Benchmark(func(b *testing.B) {
|
result := testing.Benchmark(func(b *testing.B) {
|
||||||
for i := 0; i < b.N; i++ {
|
for i := 0; i < b.N; i++ {
|
||||||
haveOutput, haveGasUsed, haveErr := execFunc()
|
haveOutput, haveGasUsed, haveErr := execFunc()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue