mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-02-04 08:11:42 +00:00
13 lines
212 B
Bash
Executable file
13 lines
212 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
LEMMY_BENCHMARK=1 cargo build --release
|
|
|
|
RUST_LOG=error target/release/lemmy_server &
|
|
|
|
# Wait for port to be opened by server
|
|
sleep 3
|
|
|
|
scripts/query_testing/api_benchmark.sh
|
|
|
|
kill $!
|