summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Justfile b/Justfile
index 3f7fd2d..214fa97 100644
--- a/Justfile
+++ b/Justfile
@@ -18,4 +18,13 @@ test-broadcast-fault:
cargo build --bin broadcast
maelstrom test -w broadcast --bin target/debug/broadcast --node-count 5 --time-limit 20 --rate 10 --nemesis partition
+test-broadcast-efficient:
+ cargo build --bin broadcast
+ maelstrom test -w broadcast --bin target/debug/broadcast --node-count 25 --time-limit 20 --rate 100 --latency 100
+ echo "---"
+ sed -n '/:net/{:start /.*:valid? true}/!{N;b start};/.*/p}' store/latest/results.edn
+ echo "---"
+ sed -n '/:stable-latencies/{:start /.*1.*}/!{N;b start};/.*/p}' store/latest/results.edn
+ echo "---"
+
test: test-echo test-unique-ids test-broadcast-single test-broadcast-multi \ No newline at end of file