Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 756 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 756 Bytes

rust-http-clients-smoke-test

To build with Address Sanitizer, run

env RUSTFLAGS="-Z sanitizer=address" cargo +nightly build --target x86_64-unknown-linux-gnu --release

To build with debug assertions and overflow checks, run

env RUSTFLAGS="-C debug-assertions -C overflow-checks" cargo build --release

To build with all of the above, run

env RUSTFLAGS="-Z sanitizer=address -C debug-assertions -C overflow-checks" cargo +nightly build --target x86_64-unknown-linux-gnu --release

Run the test for an individual client with:

mkdir success failure
cut -d , -f 2 ~/top-1m.csv | grep --only-matching -E '[a-zA-Z0-9.-]+' | parallel -j 50 ~/rust-http-clients-smoke-test/fetch-one-url.sh "$PATH_TO_BINARY_UNDER_TEST"