mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
rename aquatic to aquatic_udp, same for bench and load test crates
This commit is contained in:
parent
f614bab03d
commit
1b8d74e26d
35 changed files with 53 additions and 53 deletions
|
|
@ -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
5
scripts/bench-udp-handlers.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
export RUSTFLAGS="-C target-cpu=native"
|
||||
|
||||
cargo run --release --bin aquatic_udp_bench_handlers -- $@
|
||||
|
|
@ -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
|
||||
|
|
@ -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
5
scripts/run-load-test-udp.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
export RUSTFLAGS="-C target-cpu=native"
|
||||
|
||||
cargo run --release --bin aquatic_udp_load_test -- $@
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
export RUSTFLAGS="-C target-cpu=native"
|
||||
|
||||
cargo run --release --bin aquatic_load_test -- $@
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue