rename aquatic to aquatic_udp, same for bench and load test crates

This commit is contained in:
Joakim Frostegård 2020-05-11 16:55:46 +02:00
parent f614bab03d
commit 1b8d74e26d
35 changed files with 53 additions and 53 deletions

View file

@ -1,5 +0,0 @@
#!/bin/sh
export RUSTFLAGS="-C target-cpu=native"
cargo run --release --bin bench_handlers -- $@

5
scripts/bench-udp-handlers.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
export RUSTFLAGS="-C target-cpu=native"
cargo run --release --bin aquatic_udp_bench_handlers -- $@

View file

@ -1,7 +1,7 @@
#!/bin/bash
# Profile
perf record --call-graph=dwarf,16384 -e cpu-clock -F 997 target/release/aquatic
perf record --call-graph=dwarf,16384 -e cpu-clock -F 997 target/release/aquatic_udp
# Generate flamegraph (make sure nginx is installed for stdout path)
# Info: https://gist.github.com/dlaehnemann/df31787c41bd50c0fe223df07cf6eb89

View file

@ -2,4 +2,4 @@
export RUSTFLAGS="-C target-cpu=native"
cargo run --release --bin aquatic -- $@
cargo run --release --bin aquatic_udp -- $@

5
scripts/run-load-test-udp.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
export RUSTFLAGS="-C target-cpu=native"
cargo run --release --bin aquatic_udp_load_test -- $@

View file

@ -1,5 +0,0 @@
#!/bin/sh
export RUSTFLAGS="-C target-cpu=native"
cargo run --release --bin aquatic_load_test -- $@

View file

@ -53,8 +53,8 @@ cd ..
git clone https://github.com/greatest-ape/aquatic.git
cd aquatic
export RUSTFLAGS="-C target-cpu=native"
cargo build --release --bin aquatic
cargo build --release --bin aquatic_load_test
cargo build --release --bin aquatic_udp
cargo build --release --bin aquatic_udp_load_test
cd ..
# Download flamegraph stuff