mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: remove io_uring version, it is slower than mio version
This commit is contained in:
parent
99632d4be5
commit
138ae710ef
7 changed files with 10 additions and 551 deletions
|
|
@ -2,16 +2,4 @@
|
|||
|
||||
. ./scripts/env-native-cpu-without-avx-512
|
||||
|
||||
USAGE="Usage: $0 [mio|io-uring] [ARGS]"
|
||||
|
||||
if [ "$1" != "mio" ] && [ "$1" != "glommio" ] && [ "$1" != "io-uring" ]; then
|
||||
echo "$USAGE"
|
||||
else
|
||||
if [ "$1" = "mio" ]; then
|
||||
cargo run --release --bin aquatic_udp -- "${@:2}"
|
||||
elif [ "$1" = "io-uring" ]; then
|
||||
cargo run --release --features "with-io-uring" --no-default-features --bin aquatic_udp -- "${@:2}"
|
||||
else
|
||||
echo "$USAGE"
|
||||
fi
|
||||
fi
|
||||
cargo run --release --bin aquatic_udp -- $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue