mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
core/vm: remove unneeded StopTimer call in benchmark
This commit is contained in:
parent
f63c7bbbd8
commit
1b42438b58
1 changed files with 0 additions and 1 deletions
|
|
@ -298,7 +298,6 @@ func opBenchmark(bench *testing.B, op executionFunc, args ...string) {
|
||||||
op(&pc, evm, scope)
|
op(&pc, evm, scope)
|
||||||
stack.pop()
|
stack.pop()
|
||||||
}
|
}
|
||||||
bench.StopTimer()
|
|
||||||
|
|
||||||
for i, arg := range args {
|
for i, arg := range args {
|
||||||
want := new(uint256.Int).SetBytes(common.Hex2Bytes(arg))
|
want := new(uint256.Int).SetBytes(common.Hex2Bytes(arg))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue