Add nginx benchmark and workaround

This commit is contained in:
jiangjianfeng
2024-12-31 06:40:27 +00:00
committed by Tate, Hongliang Tian
parent 56a137dc56
commit 0c8200dc7b
19 changed files with 320 additions and 3 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
cp /benchmark/nginx/nginx.conf /usr/local/nginx/conf/
/benchmark/nginx/generate_random_html.sh 8192
echo "Running nginx server"
/usr/local/nginx/sbin/nginx