You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rongjian Lan
c519f495ca
|
6 years ago | |
---|---|---|
attack | 6 years ago | |
aws-experiment-launch | 6 years ago | |
aws-scripts | ||
azure | ||
blockchain | 6 years ago | |
client | 6 years ago | |
configr | 6 years ago | |
consensus | 6 years ago | |
crypto | 6 years ago | |
db | 6 years ago | |
identitychain | 6 years ago | |
log | ||
node | 6 years ago | |
p2p | 6 years ago | |
profiler | 6 years ago | |
proto | 6 years ago | |
utils | 6 years ago | |
waitnode | 6 years ago | |
.gitignore | ||
.travis.gofmt.sh | ||
.travis.yml | 6 years ago | |
README.md | ||
appspec.yml | ||
benchmark.go | 6 years ago | |
deploy.sh | 6 years ago | |
deploy_btctx.sh | ||
deploy_linux.sh | ||
global_nodes.txt | ||
go_executable_build.sh | ||
kill_node.sh | 6 years ago | |
lint_before_submit.sh | ||
local_config.txt | ||
local_config2.txt | ||
local_config3.txt | ||
local_config_shards.txt | ||
run_commander.sh | ||
run_experiment.sh | 6 years ago | |
send_txn.sh | ||
sysctl.sh | ||
test_before_submit.sh |
README.md
Harmony Benchmark
Golang Coding Convention
- Follow effective_go
- Constant enum should follow CamelCase.
- Comments of each element in a struct is written right after the element.
Dev Environment Setup
export GOPATH=$HOME/<path_of_your_choice>
mkdir -p $HOME/<path_of_your_choice>/src
cd $HOME/<path_of_your_choice>/src
git clone git@github.com:simple-rules/harmony-benchmark.git
cd harmony-benchmark
go get ./...
Usage
./deploy.sh local_config.txt
Testing
Make sure you the following command and make sure everything passed before submitting your code.
./test_before_submit.sh
Linting
Make sure you the following command and make sure everything passes golint.
./lint_before_submit.sh