mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-02-09 18:44:49 +00:00
14 lines
212 B
Bash
14 lines
212 B
Bash
![]() |
#!/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 $!
|