Skip to content

Commit

Permalink
Change benchmark script
Browse files Browse the repository at this point in the history
  • Loading branch information
shilangyu committed Dec 10, 2023
1 parent f0a27bd commit f2fe5bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

set -e

BUILD_TYPE=Release ./build.sh &> /dev/null
./build.sh &> /dev/null

AGREEMENT_COUNT=10
PROPOSE_AMOUNT=3
MAX_UNIQUE_PROPOSED=5
AGREEMENT_COUNT=100000
PROPOSE_AMOUNT=10
MAX_UNIQUE_PROPOSED=30
MAX_PROPOSED_VALUE=2147483648
PROCESSES=10
RUN_FOLDER=$(mktemp -d)
HOSTS_FILE=$RUN_FOLDER/hosts
OUTPUTS=$RUN_FOLDER/outputs
CONFIG_FILE=$RUN_FOLDER/lattice-agreement.config
SLEEP_TIME_S=30
SLEEP_TIME_S=10

mkdir $OUTPUTS

Expand Down
2 changes: 1 addition & 1 deletion src/include/perfect_link.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PerfectLink {

static constexpr std::uint8_t MAX_MESSAGE_COUNT_IN_PACKET = 8;
static constexpr ProcessIdType MAX_PROCESSES = 128;
static constexpr std::size_t MAX_MESSAGE_SIZE = 64;
static constexpr std::size_t MAX_MESSAGE_SIZE = 6'400;

PerfectLink(const ProcessIdType id);

Expand Down

0 comments on commit f2fe5bb

Please sign in to comment.