Created
October 6, 2017 13:46
-
-
Save anuragpeshne/1ef9f6c2f42a9fd6f1c7e23aea9196df to your computer and use it in GitHub Desktop.
shell script to benchmark, can be generalized
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
declare -a topologies=("full" "2D" "line" "imp2D") | |
for node_num in `seq 100 100 2000`; do | |
printf "$node_num, " | |
for topo in "${topologies[@]}"; do | |
result="$(./project2 $node_num $topo gossip)" | |
printf "$result, " | |
sleep 2 | |
done | |
printf "\n" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment