summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorAria <me@aria.rip>2023-10-14 22:58:03 +0100
committerAria <me@aria.rip>2023-10-14 22:58:03 +0100
commit7447f3fb801ba954c7b8cbf3f47700ffcc562d20 (patch)
tree4a7a21ad9301985925038621614cd4e1d0721b25 /Justfile
parent2c6c06a9c31049567f1c1e0eff522c5a71d6c680 (diff)
some comments
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