-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
66 lines (47 loc) · 1.49 KB
/
.env.example
File metadata and controls
66 lines (47 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# mesh-router-perf Configuration
# ============================================
# Service Configuration (for running locally)
# ============================================
PORT=3000
HOST=0.0.0.0
LOG_LEVEL=info
DATA_DIR=./data
# ============================================
# Target URLs (for benchmarks)
# ============================================
# Direct to service - baseline without routing
TARGET_DIRECT_SERVICE=http://localhost:3000
# Through PCS local nginx
TARGET_DIRECT_PCS=
# Through mesh-router-gateway
TARGET_GATEWAY=
# Through Cloudflare Worker (optional)
TARGET_CF_WORKER=
# ============================================
# Test Parameters
# ============================================
# Number of virtual users
K6_VUS=10
# Test duration (e.g., 30s, 1m, 5m)
K6_DURATION=60s
# Total iterations (alternative to duration, 0 = use duration)
K6_ITERATIONS=0
# ============================================
# Thresholds
# ============================================
# HTTP request p95 latency threshold in ms
THRESHOLD_P95_MS=200
# HTTP request failure rate threshold (0.01 = 1%)
THRESHOLD_FAIL_RATE=0.01
# ============================================
# File Transfer Settings
# ============================================
# Download test file size (50mb, 500mb, 5gb)
DOWNLOAD_SIZE=50mb
# Upload test size in MB
UPLOAD_SIZE_MB=10
# ============================================
# Report Settings
# ============================================
# Directory for benchmark reports
REPORT_DIR=./reports