mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 03:43:23 +00:00
Add nginx benchmark and workaround
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
56a137dc56
commit
0c8200dc7b
11
test/benchmark/nginx/http_file4KB_bw/run.sh
Normal file
11
test/benchmark/nginx/http_file4KB_bw/run.sh
Normal 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 4096
|
||||
|
||||
echo "Running nginx server"
|
||||
/usr/local/nginx/sbin/nginx
|
Reference in New Issue
Block a user