Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
WhoSoup committed Jul 29, 2019
1 parent fa622f2 commit 22c497a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,11 @@ func runtest(miners int) {
}

func main() {
opr = lx.Hash([]byte("foo"))

fmt.Printf("Benchmarking LXR Hash\n")
fmt.Println("=====================================")
lx.Verbose(true)
lx.Init(lxr.Seed, lxr.MapSizeBits, lxr.HashSize, lxr.Passes)
opr = lx.Hash([]byte("foo"))

fmt.Printf("%10s = %x, %d, %d, %d\n", "Hash Init", lxr.Seed, lxr.MapSizeBits, lxr.HashSize, lxr.Passes)
c, _ := cpu.Info()
Expand Down

0 comments on commit 22c497a

Please sign in to comment.