✨ Built-in PM
This commit is contained in:
1
test/benchmark/data/.gitignore
vendored
Normal file
1
test/benchmark/data/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/.output
|
12
test/benchmark/roadsign-ssr/config/example.yaml
Normal file
12
test/benchmark/roadsign-ssr/config/example.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
name: Example Site
|
||||
rules:
|
||||
- host: ["localhost:8000"]
|
||||
path: ["/"]
|
||||
upstreams:
|
||||
- id: example
|
||||
name: Benchmarking Data
|
||||
uri: http://localhost:3000
|
||||
processes:
|
||||
- id: nuxt-ssr
|
||||
workdir: ../data
|
||||
command: ["node", ".output/server/index.mjs"]
|
26
test/benchmark/roadsign-ssr/settings.yml
Normal file
26
test/benchmark/roadsign-ssr/settings.yml
Normal file
@ -0,0 +1,26 @@
|
||||
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:
|
||||
request_logging: false
|
||||
network_timeout: 3000
|
||||
prefork: false
|
||||
security:
|
||||
administration_trusted_proxies:
|
||||
- localhost
|
||||
credential: e81f43f32d934271af6322e5376f5f59
|
@ -1,20 +0,0 @@
|
||||
{
|
||||
"name": "Example Site",
|
||||
"rules": [
|
||||
{
|
||||
"host": [
|
||||
"localhost:8000"
|
||||
],
|
||||
"path": [
|
||||
"/"
|
||||
]
|
||||
}
|
||||
],
|
||||
"upstreams": [
|
||||
{
|
||||
"id": "example",
|
||||
"name": "Benchmarking Data",
|
||||
"uri": "files://../data"
|
||||
}
|
||||
]
|
||||
}
|
8
test/benchmark/roadsign-with-prefork/config/example.yaml
Normal file
8
test/benchmark/roadsign-with-prefork/config/example.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
name: Example Site
|
||||
rules:
|
||||
- host: ["localhost:8000"]
|
||||
path: ["/"]
|
||||
upstreams:
|
||||
- id: example
|
||||
name: Benchmarking Data
|
||||
uri: files://../data
|
@ -1,20 +0,0 @@
|
||||
{
|
||||
"name": "Example Site",
|
||||
"rules": [
|
||||
{
|
||||
"host": [
|
||||
"localhost:8000"
|
||||
],
|
||||
"path": [
|
||||
"/"
|
||||
]
|
||||
}
|
||||
],
|
||||
"upstreams": [
|
||||
{
|
||||
"id": "example",
|
||||
"name": "Benchmarking Data",
|
||||
"uri": "files://../data"
|
||||
}
|
||||
]
|
||||
}
|
8
test/benchmark/roadsign/config/example.yaml
Normal file
8
test/benchmark/roadsign/config/example.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
name: Example Site
|
||||
rules:
|
||||
- host: ["localhost:8000"]
|
||||
path: ["/"]
|
||||
upstreams:
|
||||
- id: example
|
||||
name: Benchmarking Data
|
||||
uri: files://../data
|
Reference in New Issue
Block a user