Files
cleveragents-core/features/fixtures/scale/baseline_thresholds.json

71 lines
1.7 KiB
JSON

{
"schema_version": "1.0",
"description": "Baseline performance thresholds for scale testing. Values are in milliseconds unless noted otherwise.",
"indexing": {
"1000_files": {
"p50_ms": 2000,
"p95_ms": 5000,
"p99_ms": 8000,
"max_ms": 12000,
"notes": "Small repo: single microservice scale"
},
"5000_files": {
"p50_ms": 10000,
"p95_ms": 25000,
"p99_ms": 40000,
"max_ms": 60000,
"notes": "Medium repo: multi-service monorepo scale"
},
"10000_files": {
"p50_ms": 18000,
"p95_ms": 45000,
"p99_ms": 72000,
"max_ms": 110000,
"notes": "Large repo: enterprise monorepo scale; sub-linear scaling expected"
}
},
"decomposition": {
"1000_files": {
"p50_ms": 4000,
"p95_ms": 10000,
"p99_ms": 16000,
"max_ms": 24000,
"notes": "Decomposition typically 2x indexing time"
},
"5000_files": {
"p50_ms": 20000,
"p95_ms": 50000,
"p99_ms": 80000,
"max_ms": 120000,
"notes": "Decomposition typically 2x indexing time"
},
"10000_files": {
"p50_ms": 40000,
"p95_ms": 100000,
"p99_ms": 160000,
"max_ms": 240000,
"notes": "Decomposition typically 2x indexing time"
}
},
"memory_usage_mb": {
"1000_files": {
"peak_mb": 256,
"steady_state_mb": 128
},
"5000_files": {
"peak_mb": 768,
"steady_state_mb": 384
},
"10000_files": {
"peak_mb": 1536,
"steady_state_mb": 768
}
},
"scaling_expectations": {
"indexing_complexity": "O(n log n)",
"decomposition_complexity": "O(n log n)",
"memory_complexity": "O(n)",
"notes": "Thresholds assume local SSD storage and 8+ GB RAM available"
}
}