mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-21 23:39:26 +00:00
Remove common.go
This commit is contained in:
parent
360c66c65d
commit
bf73f02fe0
1 changed files with 0 additions and 12 deletions
|
|
@ -1,12 +0,0 @@
|
||||||
package common
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
func Bench(pre string, cb func()) {
|
|
||||||
start := time.Now()
|
|
||||||
cb()
|
|
||||||
fmt.Println(pre, ": took:", time.Since(start))
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue