Add benchmark
All checks were successful
release-nightly / build-docker (push) Successful in 58s

This commit is contained in:
2023-11-25 01:27:37 +08:00
parent b1a6364618
commit 78c51bb432
9 changed files with 310 additions and 33 deletions

View File

@ -0,0 +1,20 @@
{
"name": "Example Site",
"rules": [
{
"host": [
"localhost:8000"
],
"path": [
"/"
]
}
],
"upstreams": [
{
"id": "example",
"name": "Benchmarking Data",
"uri": "files://../data"
}
]
}

View File

@ -0,0 +1,25 @@
debug:
print_routes: false
hypertext:
administration_ports: []
administration_secured_ports: []
certificate:
administration_key: ./cert.key
administration_pem: ./cert.pem
key: ./cert.key
pem: ./cert.pem
limitation:
max_body_size: -1
max_qps: -1
ports:
- :8000
secured_ports: []
paths:
configs: ./config
performance:
network_timeout: 3000
prefork: false
security:
administration_trusted_proxies:
- localhost
credential: e81f43f32d934271af6322e5376f5f59