✅ Add benchmark
All checks were successful
release-nightly / build-docker (push) Successful in 58s
All checks were successful
release-nightly / build-docker (push) Successful in 58s
This commit is contained in:
20
test/benchmark/roadsign/config/example.json
Normal file
20
test/benchmark/roadsign/config/example.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "Example Site",
|
||||
"rules": [
|
||||
{
|
||||
"host": [
|
||||
"localhost:8000"
|
||||
],
|
||||
"path": [
|
||||
"/"
|
||||
]
|
||||
}
|
||||
],
|
||||
"upstreams": [
|
||||
{
|
||||
"id": "example",
|
||||
"name": "Benchmarking Data",
|
||||
"uri": "files://../data"
|
||||
}
|
||||
]
|
||||
}
|
25
test/benchmark/roadsign/settings.yml
Normal file
25
test/benchmark/roadsign/settings.yml
Normal 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
|
Reference in New Issue
Block a user