WIP: aquatic_ws: add half-crappy load test, fix infinite loop bug

This commit is contained in:
Joakim Frostegård 2020-08-01 03:35:00 +02:00
parent c7be84a61e
commit a5108f813d
17 changed files with 821 additions and 10 deletions

13
scripts/run-load-test-ws.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
# Compile with target-cpu=native but without AVX512 features, since they
# decrease performance.
DISABLE_AVX512=$(rustc --print target-features | grep " avx512" |
awk '{print $1}' | sed 's/^/-C target-feature=-/' | xargs)
export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512"
echo "Compiling with RUSTFLAGS=$RUSTFLAGS"
cargo run --release --bin aquatic_ws_load_test -- $@