Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 614 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 614 Bytes

Go Ethereum - Test & Benchmark

Setup environment

make -p $GOPATH/src/github.com/ethereum
ln -s $PWD $GOPATH/src/github.com/ethereum/go-ethereum

Run test & benchmark

# ./test.sh folder method_pattern
./test.sh trie TestCanUnload TestHexKeybyte
./bench.sh trie BenchmarkHash BenchmarkProve

Auto update import

# install goimports
go get -u golang.org/x/tools/cmd/goimports
# install GoSublime at https://github.com/DisposaBoy/GoSublime
# Open the GoSublime/Settings User and make it look like this:
{
    "fmt_cmd": ["goimports"]
}

Test Demo