Skip to content

Commit

Permalink
fix benchmark sync error when chain data is huge
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan Mingzhi authored and Yang Zhou committed Dec 17, 2019
1 parent 15ba979 commit 90061d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ elif [[ "$1" == "benchsync" ]]; then
cp config.json benchmark/sync/
rm -rf benchmark/sync/elastos_test
cp -r elastos benchmark/sync/elastos_test
go test ./benchmark/sync/... -bench=. $cpuArgs $memArgs
ulimit -n 1024
go test ./benchmark/sync/... -bench=. $cpuArgs $memArgs -timeout 1000m
elif [[ "$1" == "datagen" ]]; then
./ela-datagen --dir benchmark/process/elastos_test --height "$2" --mode normal --inputsperblock 200 --maxrefers 200 --minrefers 100 --addresscount 100
fi

0 comments on commit 90061d3

Please sign in to comment.