PostgreSQL Performance Audit
Database performance benchmarks with trend analysis and competitive context.
On this page
Competitive comparisons based on publicly available documentation as of June 2026. All SveltyCMS metrics self-measured via bun test tests/benchmarks/.
Console-only by default. Use BENCHMARK_RECORD=1 to write results to this report.
BENCHMARK_RECORD=1 bun test tests/benchmarks/auth-performance.test.ts
The full matrix runner (bun run scripts/benchmark-matrix/index.ts --sql) always records.
π Latest Performance Audit
π Fix Overlays
Phase notes and remediation entries appear here after matrix or surgical runs.
(21/10/2026, 18:34:46)
β PASS Β· 38/45 tests Β· 7 skipped Β· POSTGRESQL Β· Bun 1.4.2
Dimension health
| Dimension | Tests | Status | Worst Ξ | Issues |
|---|---|---|---|---|
| Core | 13 | π’ | +1048% | 0 |
| API | 9 | π’ | +68% | 0 |
| Scale | 18 | π’ | -100% | 0 |
| Resilience | 5 | π’ | β | 0 |
Issues (action required)
β All clear β no regressions or budget violations detected.
Executive latency matrix
| Scenario | Latency | Trend | Budget | Result |
|---|---|---|---|---|
| Cold Start | N/A | βͺ (β) | < 5000ms | βͺ N/A |
| REST (Collections) | N/A | βͺ (β) | < 5ms | βͺ N/A |
| Middleware Hooks | N/A | βͺ | < 2ms | βͺ N/A |
| GraphQL (Avg) | N/A | βͺ (β) | < 5ms | βͺ N/A |
| Million-Row Index | N/A | βͺ | < 250ms | βͺ N/A |
| DB Raw (p95) | N/A | βͺ | < 50ms | βͺ N/A |
Historical pulse
Scope: Sparklines only β full run tables:
tests/benchmarks/results/history.sqlite
| Metric | Trend | Sparkline | Latest |
|---|
π Latency trend chart (last 10 runs)
π Regression severity matrix (quadrant)
π Partial report β run full matrix for complete cross-DB analysis.
π Partial report β run full matrix for complete cross-DB analysis.
π΄ Top Regressions
π΄ database-performance [QUERY BUILDER LIST (50)] (postgresql): +132% | 4.35ms vs 1.88ms baseline π΄ media-performance [SDK: Media Processing] (postgresql): +90% | 95.14ms vs 50.01ms baseline π΄ media-performance [HTTP: Media Upload] (postgresql): +71% | 75.98ms vs 44.43ms baseline π΄ state-machine-transition [Self-Healing Full Convergence] (postgresql): +65% | 108.11ms vs 65.71ms baseline π΄ state-machine-transition [State Transition (Transient)] (postgresql): +64% | 111.02ms vs 67.54ms baseline
π’ Top Improvements
local-cms-crud [LocalCMS create] (postgresql): -78% | 0.50ms vs 2.30ms baseline local-cms-crud [LocalCMS update] (postgresql): -76% | 0.54ms vs 2.23ms baseline local-cms-crud [LocalCMS mixed C/U/R] (postgresql): -73% | 1.40ms vs 5.26ms baseline sharp-vs-bun-image [Bun.Image Metadata (header-only)] (postgresql): -67% | 0.01ms vs 0.02ms baseline scale-spectrum [listFilterSort @ 5000] (postgresql): -66% | 0.63ms vs 1.84ms baseline
Current Run Summary (2026-10-17)
Scope: Only tests that ran in THIS invocation.
β οΈ Executive PASS/FAIL reflects the last full matrix run.
Run ID: 01a14a7a-e189-706c-b2eb-aaca8a49dd96 Β· Tests invoked: 1 Β· Metrics: 2 Β· DB: postgresql
| Test | Metric | Avg (ms) | p95 (ms) | RPS | Trend | Detail |
|---|---|---|---|---|---|---|
| Cache Performance | Cache Miss (Bypass) | 0.755 | 0.966 | 1272 | π’ | βͺ established at 0.755ms (1 run) |
| Cache Performance | Cache Hit (L1 Warm) | 0.189 | 0.267 | 5138 | π’ | βͺ established at 0.189ms (1 run) |
Historical Trends (2026-10-21)
Mode: production-parity matrix runs only (
run_mode='matrix'+server_mode='production'βNODE_ENV=production, noTEST_MODE). Standalone/mode-variant samples are recorded but never trended here.
Scope: Sparklines only β full run tables live in
history.sqlite(link below). Runs = sparkline bar count.
Detail: tests/benchmarks/results/history.sqlite Β· SELECT test_id, phase, server_mode, avg_ms, p95_ms, rps, timestamp FROM runs WHERE db_type='postgresql' AND redis=0 ORDER BY timestamp DESC
Series: 53 Β· DB: postgresql
| Metric | Trend | Sparkline (last 7) | Latest |
|---|---|---|---|
| ADMIN UX VITALITY (warm) | π’ | ββββ |
0.520ms |
| AI PERFORMANCE (warm) | π’ | ββββ |
0.000ms |
| AUTH PERFORMANCE (warm) | π’ | βββββ
β
|
1.122ms |
| AUTH SESSION AMR (warm) | π’ | βββ
ββββ |
0.880ms |
| BUILD ANALYSIS (warm) | π’ | ββ |
0.000ms |
| CACHE HIT RATIO (warm) | π’ | βββββ
ββ |
1.321ms |
| CACHE PERFORMANCE (warm) | π’ | ββββ |
0.750ms |
| CACHE SERVICE (warm) | π’ | βββββ
β |
0.655ms |
| CLIENT JOURNEY (warm) | π’ | ββ |
5.719ms |
| COMPETITIVE WORKLOAD REPLICA (warm) | π’ | βββββββ |
0.861ms |
| CONCURRENCY MAX (warm) | π’ | ββ |
22.034ms |
| CONFIG PROMOTION (warm) | π’ | βββββββ |
9.020ms |
| CONTENT GUI SAVE (warm) | π’ | ββ |
1.413ms |
| CONTENT INCREMENTAL RELOAD (warm) | π’ | βββββββ
|
0.514ms |
| CONTENT SCALE STRESS (warm) | π’ | ββββ |
0.134ms |
| CONTENT SCAN (warm) | π’ | ββββ |
0.643ms |
| DATABASE PERFORMANCE (warm) | π’ | βββββββ |
3.555ms |
| ENTRY EDIT HYDRATION (warm) | π’ | βββββββ
|
0.015ms |
| GRAPHQL API PERFORMANCE (warm) | π’ | βββββββ |
0.724ms |
| GRAPHQL CACHE HIT (warm) | π’ | βββββββ |
1.002ms |
| GRAPHQL LOCAL SDK (warm) | π’ | ββββ |
0.000ms |
| GRAPHQL STRESS (warm) | π’ | βββββββ |
10.161ms |
| HOOKS PERFORMANCE (warm) | π’ | ββ
βββββ |
0.792ms |
| LOCAL API THROUGHPUT (warm) | π’ | ββββ |
1.620ms |
| LOCAL CMS CRUD (warm) | π’ | βββββββ |
0.535ms |
| LOCAL SDK VS DIRECT (warm) | π’ | βββββββ |
1.486ms |
| MEDIA UPLOAD STRESS (warm) | π’ | ββββ |
5.908ms |
| MEMORY COUNTERS (warm) | π’ | ββ |
0.000ms |
| MIDDLEWARE FLAMEGRAPH (warm) | π’ | βββββββ |
1.432ms |
| MIXED WORKLOAD (warm) | π’ | ββ |
0.798ms |
| MULTI TENANT PERFORMANCE (warm) | π’ | ββ |
0.826ms |
| OPENAPI PERFORMANCE (warm) | π’ | β
βββββ |
2.056ms |
| PRODUCTION DAY (warm) | π’ | ββ |
1.799ms |
| REALTIME PERFORMANCE (warm) | π’ | ββββββ |
0.000ms |
| REVISION STRESS (warm) | π’ | ββββββ |
0.446ms |
| RIGHT TO BE FORGOTTEN AUDIT (warm) | π’ | ββ |
12.657ms |
| SCALE SPECTRUM (warm) | π’ | ββββ
βββ |
0.849ms |
| SECURITY AUDIT (warm) | π’ | βββββββ |
0.001ms |
| STATE MACHINE TRANSITION (warm) | π’ | ββββ |
111.017ms |
| TELEMETRY PERFORMANCE (warm) | π’ | ββββ |
0.000ms |
| TEMPORAL INTEGRITY (warm) | π’ | ββ |
2.923ms |
| TRANSACTION ACID (warm) | π’ | ββββ |
1.935ms |
| TRUTH LATENCY (warm) | π’ | βββββββ |
0.000ms |
| WEBSOCKET BROADCAST (warm) | π’ | ββ |
0.142ms |
| WIDGET PERFORMANCE (warm) | π’ | ββββββ |
0.945ms |
| API LATENCY (warm) | βͺ | βββ
ββββ |
4.120ms |
| INDEX PRESSURE (warm) | βͺ | ββββ |
0.837ms |
| LARGE PAYLOAD STREAMING (warm) | βͺ | βββββββ |
11.287ms |
| LOCAL API PERFORMANCE (warm) | βͺ | ββββββ |
0.407ms |
| MEDIA PERFORMANCE (warm) | βͺ | βββββββ |
95.145ms |
| NEGATIVE CACHE (warm) | βͺ | ββββββ |
0.001ms |
| REST API PERFORMANCE (warm) | βͺ | βββββββ |
0.859ms |
| SHARP VS BUN IMAGE (warm) | βͺ | β
ββββββ |
55.676ms |
π Infrastructure drill-down (expand for adapter, hooks, memory trends)
π Infrastructure drill-down
π·οΈ Mixed Workload Performance {#mixedAvg}
Mixed p95: β (not measured in this run) | Trend: βͺ (β)
Production request mix: 60% Reads, 20% Writes, 15% GraphQL, 5% Media.
π·οΈ Database Adapter Performance {#dbRaw}
Raw Adapter p95: β (not measured in this run) | Target: < 50ms | Trend: βͺ (β)
Direct database access latency (bypass CMS logic).
π·οΈ Middleware & Hooks Audit {#hooks}
Middleware p95: β (not measured in this run) | Target: < 2ms | Trend: βͺ (β)
Total overhead of security, logging, and auth hooks.
π·οΈ Memory Stability Audit {#memGrowth}
Memory RSS Ξ: β (not measured in this run) | Target: < 60MB | Trend: βͺ (β)
Peak memory growth during stress workload.
Enterprise scale audit
π·οΈ Multi-Tenancy Performance {#tenancyAvg}
Tenancy p95: β (not measured in this run) | Trend: βͺ (β)
Measures latency across tenant isolation boundaries.
π·οΈ Relational Resolver Latency {#relationalAvg}
Relational p95: β (not measured in this run) | Trend: βͺ (β)
Tests performance of complex JOINs and nested relationship population.
π·οΈ Telemetry & Update Performance {#telemetryAvg}
Telemetry p95: β (not measured in this run) | Trend: βͺ (β)
Measures overhead of telemetry collection and cryptographic signing.
π¬ Full benchmark ledger (41 modules)
Expand dimension groups, then any row, for ASCII truth tables. Executive summary above shows pass/fail and issues only.
Core Β· 27 tests
π·οΈ API LAYER LATENCY Β· βͺ 4.120ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 86% β check connection pool saturation or lock contention. **Severe degradation** (+1048%) β review recent commits immediately. > **Check**: `src/routes/api/[...path]/+server.ts` Β· `src/hooks.server.ts`βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β API LAYER LATENCY β
β File: tests/benchmarks/api-latency.test.ts β
β Ran: 2026-10-06 10:55:22 β
β Cold full-pipeline findById + warm TURBO-HIT path after responseCache fill. β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β HTTP: findById @ 8c (Cold) β Cold: 2.36 ms β Warm: 2.080 ms β p95: 4.527 ms β 3,371 RPS β
β HTTP: findById TURBO-HIT @ 8c (Warm) β Cold: 0.29 ms β Warm: 0.753 ms β p95: 0.881 ms β 10,973 RPS β
β HTTP: zstd large GET (>64KiB, drained) β Cold: 2.84 ms β Warm: 3.818 ms β p95: 4.551 ms β 510 RPS β
β HTTP: findById TURBO-HIT idle (Warm) β 0.198 ms β p95: 0.277 ms β RPS: 4,946 β
β HTTP: findById TURBO-HIT during zstd (Warm) β 0.291 ms β p95: 0.610 ms β RPS: 2,463 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ PHASED COLD START Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β PHASED COLD START AUDIT β β File: tests/benchmarks/cold-start-phased.test.ts β β Ran: 2026-10-17 12:06:20 β β Measures process spawn, dependency hydration, and first-request TTFB readiness. β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Initial Cold Boot (Fresh Process) β 4139.707 ms β p95: 4139.707 ms β RPS: 0 β β Steady-State Respawn (Average) β 2621.272 ms β p95: 4139.707 ms β RPS: 0 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ SRE TRUTH AUDIT Β· βͺ β³ pending Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β SRE TRUTH AUDIT β
β File: tests/benchmarks/truth-latency.test.ts β
β Ran: 2026-10-17 12:06:40 β
β Validates performance claims by comparing SDK, Middleware, and Real HTTP Stack β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Logic Baseline β Cold: 0.01 ms β Warm: 0.000 ms β p95: 0.001 ms β 293,370 RPS β
β Local SDK (Full) β Cold: 4.98 ms β Warm: 0.008 ms β p95: 0.016 ms β 97,685 RPS β
β HTTP End-to-End β Cold: 8.94 ms β Warm: 0.439 ms β p95: 0.593 ms β 2,262 RPS β
β HTTP Cold (Cache-Busted) β Cold: 13.24 ms β Warm: 2.014 ms β p95: 2.736 ms β 496 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Incremental Content Reload Β· βͺ 0.514ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 69% β check connection pool saturation or lock contention. **Severe degradation** (+135%) β review recent commits immediately. > **Check**: `src/content/engine.server.ts` Β· `src/routes/api/[...path]/handlers/content.ts`βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β INCREMENTAL CONTENT RELOAD AUDIT β
β File: tests/benchmarks/content-incremental-reload.test.ts β
β Ran: 2026-10-06 09:39:27 β
β Measures surgical single-file fullReload vs full reconciliation path and batch processing. β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Incremental fullReload (1 file) β Cold: 4.56 ms β Warm: 0.060 ms β p95: 0.129 ms β 14,319 RPS β
β Full Reconciliation Reload β Cold: 3.12 ms β Warm: 0.178 ms β p95: 0.212 ms β 5,543 RPS β
β Sequential 10-File Reload β Cold: 4.15 ms β Warm: 0.514 ms β p95: 0.653 ms β 1,905 RPS β
β Batched 10-File Reload β Cold: 0.98 ms β Warm: 0.234 ms β p95: 0.339 ms β 3,953 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Middleware & Hooks Performance Β· βͺ 0.792ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective. Throughput dropped 13% β check connection pool saturation or lock contention.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β MIDDLEWARE & HOOKS AUDIT β
β File: tests/benchmarks/hooks-performance.test.ts β
β Ran: 2026-10-06 10:56:56 β
βMeasures the cost of the full middleware chain including Turbo, Security, Auth, and Audit via HTTP E2E.β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Static Asset (No Middleware) β Cold: 2.25 ms β Warm: 1.057 ms β p95: 1.939 ms β 3,630 RPS β
β Turbo Pipeline (Light) β Cold: 0.63 ms β Warm: 0.785 ms β p95: 1.182 ms β 4,939 RPS β
β Full Security + Auth Pipeline β Cold: 3.42 ms β Warm: 0.488 ms β p95: 1.007 ms β 7,329 RPS β
β REST with API Caching β Cold: 4.89 ms β Warm: 0.439 ms β p95: 0.673 ms β 8,672 RPS β
β Mutation (audit logging disabled) β Cold: 8.52 ms β Warm: 1.456 ms β p95: 2.590 ms β 623 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ State Machine Transitions Β· βͺ 111.017ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 31% β check connection pool saturation or lock contention. **Severe degradation** (+64%) β review recent commits immediately.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β STATE MACHINE INTEGRITY β
β File: tests/benchmarks/state-machine-transition.test.ts β
β Ran: 2026-10-06 09:39:41 β
βMeasures state machine self-healing transition latencies, convergence settling time, and health probe consistency under stress.β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β State Transition (Transient) β Cold: 157.07 ms β Warm: 111.017 ms β p95: 126.051 ms β 9 RPS β
β Self-Healing Full Convergence β Cold: 116.23 ms β Warm: 108.114 ms β p95: 118.538 ms β 9 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Database Adapter Raw CRUD Β· βͺ 3.555ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 73% β check connection pool saturation or lock contention. **Severe degradation** (+132%) β review recent commits immediately.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β DATABASE ADAPTER PERFORMANCE (POSTGRESQL) β
β File: tests/benchmarks/database-performance.test.ts β
β Ran: 2026-10-06 16:16:27 β
β Measures raw CRUD performance, indexing efficiency, and connection pool resilience. β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β INSERT β Cold: 2.37 ms β Warm: 0.504 ms β p95: 0.893 ms β 1,832 RPS β
β FIND ONE β Cold: 2.83 ms β Warm: 0.382 ms β p95: 0.731 ms β 2,369 RPS β
β FIND MANY (limit 50) β Cold: 4.20 ms β Warm: 0.793 ms β p95: 1.327 ms β 1,135 RPS β
β FILTER (blob field, 1 match) β Cold: 6.22 ms β Warm: 1.911 ms β p95: 2.765 ms β 506 RPS β
β QUERY BUILDER LIST (50) β Cold: 5.76 ms β Warm: 0.755 ms β p95: 1.161 ms β 1,204 RPS β
β FIND PAGE (50 hasMore) β Cold: 3.90 ms β Warm: 0.774 ms β p95: 1.084 ms β 1,228 RPS β
β FIND PAGE keyset β Cold: 11.98 ms β Warm: 1.110 ms β p95: 1.523 ms β 851 RPS β
β FIND MANY offset 50 β Cold: 3.70 ms β Warm: 0.554 ms β p95: 0.797 ms β 1,728 RPS β
β LIST+COUNT (legacy) β Cold: 13.04 ms β Warm: 2.370 ms β p95: 2.859 ms β 411 RPS β
β UPDATE β Cold: 4.54 ms β Warm: 0.446 ms β p95: 0.650 ms β 2,100 RPS β
β UPDATE (no-returning) β Cold: 2.76 ms β Warm: 0.393 ms β p95: 0.574 ms β 2,403 RPS β
β NATIVE UPSERT β Cold: 4.24 ms β Warm: 0.777 ms β p95: 1.042 ms β 1,235 RPS β
β COUNT β Cold: 13.14 ms β Warm: 2.805 ms β p95: 3.835 ms β 349 RPS β
β COUNT ESTIMATE β Cold: 4.17 ms β Warm: 0.961 ms β p95: 1.600 ms β 946 RPS β
β COUNT CACHED β Cold: 7.94 ms β Warm: 0.001 ms β p95: 0.002 ms β 643,087 RPS β
β DELETE (Active Rows) β Cold: 22.44 ms β Warm: 1.120 ms β p95: 2.018 ms β 790 RPS β
β BULK INSERT (100) β Cold: 8.30 ms β Warm: 3.771 ms β p95: 5.083 ms β 253 RPS β
β BULK UPDATE (100 heterogeneous) β Cold: 21.05 ms β Warm: 5.993 ms β p95: 9.341 ms β 157 RPS β
β BULK UPDATE (100 homogeneous) β Cold: 9.29 ms β Warm: 4.071 ms β p95: 5.079 ms β 240 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ ACID Transaction Overhead Β· βͺ 1.935ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 86% β check connection pool saturation or lock contention. **Severe degradation** (+154%) β review recent commits immediately.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β ACID INTEGRITY AUDIT β
β File: tests/benchmarks/transaction-acid.test.ts β
β Ran: 2026-10-06 09:39:13 β
β Measures transaction commit latencies and rollback overhead across database adapters β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β TX Commit β Cold: 10.38 ms β Warm: 0.705 ms β p95: 0.916 ms β 5,612 RPS β
β TX Rollback Integrity β Cold: 5.63 ms β Warm: 1.935 ms β p95: 2.166 ms β 516 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ System Cache Efficiency Β· βͺ 0.750ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 70% β check connection pool saturation or lock contention. **Severe degradation** (+324%) β review recent commits immediately.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β NEGATIVE CACHE PERFORMANCE AUDIT β
β File: tests/benchmarks/negative-cache.test.ts β
β Ran: 2026-08-23 22:41:20 β
β Measures Bloom-filter style missing-key cache speedup for repeated misses β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β First Miss (DB) β 2.487 ms β p95: 4.448 ms β RPS: 400 β
β Cached Miss (Negative Cache) β 0.001 ms β p95: 0.002 ms β RPS: 828,497 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Cache Hit/Miss Ratio & Efficiency Β· βͺ 1.321ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 71% β check connection pool saturation or lock contention. **Severe degradation** (+59%) β review recent commits immediately. > **Check**: `src/databases/cache/redis-adapter.ts` Β· `src/databases/cache/cache-service.ts`βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β CACHE EFFICIENCY AUDIT β
β File: tests/benchmarks/cache-performance.test.ts β
β Ran: 2026-10-17 15:28:56 β
β Measures cache hit vs miss latency and efficiency via real HTTP end-to-end requests. β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Cache Miss (Bypass) β Cold: 4.12 ms β Warm: 0.755 ms β p95: 0.966 ms β 1,272 RPS β
β Cache Hit (L1 Warm) β Cold: 0.88 ms β Warm: 0.189 ms β p95: 0.267 ms β 5,138 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ unknown Β· π’ 0.002ms Β· β‘οΈ recorded (awaiting trend) Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β CACHE EVICTION BOUNDARY HARDENING β β File: unknown β β Ran: 2026-08-23 22:11:25 β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Cache Flooding & Eviction β 0.002 ms β p95: 0.002 ms β RPS: 491,074 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Middleware Β· π’ 3.063ms Β· β‘οΈ βͺ established at 3.06ms (1 run) (2026-09-30 15:24:48) Β· source
> β³ Pendingπ·οΈ System Β· π’ 0.388ms Β· βοΈ βͺ stable at 0.494ms (Β±0.265ms) (3 runs) (2026-09-18 18:23:47) Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective.β³ Pending
π·οΈ Metadata Β· π’ 0.707ms Β· β‘οΈ βͺ stable at 0.738ms (Β±0.092ms) (3 runs) (2026-09-18 18:23:48) Β· source
> β³ Pendingπ·οΈ CRUD Β· π’ 4.330ms Β· β‘οΈ recorded (awaiting trend) Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β LOCALCMS CRUD TAX (POSTGRESQL) β β File: tests/benchmarks/local-cms-crud.test.ts β β Ran: 2026-10-06 11:02:17 β βMeasures full CollectionsNamespace tax vs direct adapter baseline with isolated garbage collection and deterministic ID generation.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Adapter FIND ONE β Cold: 4.33 ms β Warm: 0.495 ms β p95: 0.751 ms β 1,877 RPS β β Direct-to-Wire Point Stream β Cold: 3.01 ms β Warm: 0.448 ms β p95: 0.578 ms β 2,173 RPS β β LocalCMS findById (Warm) β Cold: 0.21 ms β Warm: 0.001 ms β p95: 0.003 ms β 540,760 RPS β β LocalCMS findById (Cold) β Cold: 1.74 ms β Warm: 0.416 ms β p95: 0.678 ms β 2,248 RPS β β LocalCMS create β Cold: 3.33 ms β Warm: 0.516 ms β p95: 0.672 ms β 1,914 RPS β β LocalCMS update β Cold: 6.94 ms β Warm: 0.560 ms β p95: 0.716 ms β 1,743 RPS β β LocalCMS mixed C/U/R β Cold: 4.61 ms β Warm: 1.491 ms β p95: 1.958 ms β 646 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Logic Β· π’ β³ pending Β· β‘οΈ βͺ established at 0ms (1 run) (2026-10-17 12:06:48) Β· source
> β³ Pendingπ·οΈ SDK Β· π’ 0.008ms Β· β‘οΈ βͺ established at 0.008ms (1 run) (2026-10-17 12:06:48) Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β SDK VS DIRECT ADAPTER (POSTGRESQL) β β File: tests/benchmarks/local-sdk-vs-direct.test.ts β β Ran: 2026-10-06 11:02:38 β βMeasures the exact SDK tax across Create, Find, and Update pathways with isolated GC sweeps and zero-allocation key pools.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Direct insert β 0.483 ms β p95: 0.483 ms β RPS: 2,072 β β SDK create (full) β 1.496 ms β p95: 1.496 ms β RPS: 0 β β Direct findOne β 0.474 ms β p95: 0.474 ms β RPS: 2,111 β β SDK find (bypassCache) β 1.476 ms β p95: 1.476 ms β RPS: 677 β β Direct update β 0.485 ms β p95: 0.485 ms β RPS: 2,061 β β SDK update (full) β 1.457 ms β p95: 1.457 ms β RPS: 0 β β SDK create (detached) β 1.572 ms β p95: 1.572 ms β RPS: 0 β β SDK update (detached) β 1.572 ms β p95: 1.572 ms β RPS: 0 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ HTTP Β· π’ 0.439ms Β· β‘οΈ βͺ established at 0.439ms (1 run) (2026-10-17 12:06:48) Β· source
> β³ Pendingπ·οΈ CRUD (Get) Β· π’ 0.713ms Β· β‘οΈ βͺ stable at 0.731ms (Β±0.122ms) (3 runs) (2026-09-18 18:23:48) Β· source
> β³ Pendingπ·οΈ CRUD (List) Β· π’ 0.768ms Β· β‘οΈ βͺ stable at 0.779ms (Β±0.186ms) (3 runs) (2026-09-18 18:23:49) Β· source
> β³ Pendingπ·οΈ CRUD (Search) Β· π’ 0.745ms Β· β‘οΈ βͺ stable at 0.764ms (Β±0.137ms) (3 runs) (2026-09-18 18:23:49) Β· source
> β³ Pendingπ·οΈ HTTP-Cold Β· π’ 2.014ms Β· β‘οΈ βͺ established at 2.01ms (1 run) (2026-10-17 12:06:48) Β· source
> β³ Pendingπ·οΈ COMPETITIVE 9-WORKLOAD REPLICA Β· βͺ 0.861ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Avg degraded but p95 stable β possible cold-start effect, GC pause, or warmup variance. Throughput dropped 90% β check connection pool saturation or lock contention. **Severe degradation** (+201%) β review recent commits immediately.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β COMPETITIVE 9-WORKLOAD REPLICA (POSTGRESQL) β
β File: tests/benchmarks/competitive-workload-replica.test.ts β
β Ran: 2026-08-26 17:17:14 β
βMeasures the exact 9 workloads tested in the external benchmark harness against the local server.β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β findById (Concurrent 8c) β 2.485 ms β p95: 3.238 ms β RPS: 3,049 β
β findByIdRandom (Concurrent 8c) β 8.552 ms β p95: 24.943 ms β RPS: 913 β
β listPlain (Concurrent 8c) β 2.607 ms β p95: 5.279 ms β RPS: 2,943 β
β listFilterSort (Concurrent 8c) β 2.932 ms β p95: 3.816 ms β RPS: 2,573 β
β listLarge (Concurrent 8c) β 2.517 ms β p95: 3.550 ms β RPS: 3,041 β
β findMissing (Concurrent 8c) β 2.532 ms β p95: 6.246 ms β RPS: 3,041 β
β GraphQL Collection Query (Concurrent 8c) β 5.014 ms β p95: 7.447 ms β RPS: 1,561 β
β create (Concurrent 8c) β 8.319 ms β p95: 11.209 ms β RPS: 921 β
β update (Concurrent 8c) β 9.056 ms β p95: 13.321 ms β RPS: 859 β
β mixed (Concurrent 8c 50/50) β 7.491 ms β p95: 10.122 ms β RPS: 1,007 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ MIDDLEWARE FLAMEGRAPH PROFILER Β· βͺ 1.432ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 57% β check connection pool saturation or lock contention. **Severe degradation** (+110%) β review recent commits immediately.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MIDDLEWARE FLAMEGRAPH PROFILER (POSTGRESQL) β
β File: tests/benchmarks/middleware-flamegraph.test.ts β
β Ran: 2026-10-06 09:42:35 β
βMeasures isolated microsecond cost and incremental deltas of each middleware stage from edge to database.β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Stage 0: Raw Socket Baseline (Static Asset) β Cold: 2.65 ms β Warm: 0.794 ms β p95: 1.320 ms β 4,757 RPS β
β Stage 1: System State + Turbo Pipeline β Cold: 1.16 ms β Warm: 0.681 ms β p95: 1.044 ms β 5,566 RPS β
β Stage 2: WAF Security Inspection β Cold: 0.90 ms β Warm: 0.592 ms β p95: 1.040 ms β 5,768 RPS β
β Stage 3: Token Auth Gating β Cold: 6.92 ms β Warm: 1.501 ms β p95: 2.048 ms β 2,616 RPS β
β Stage 4: Collection Schema Resolution β Cold: 6.59 ms β Warm: 0.341 ms β p95: 0.669 ms β 10,702 RPS β
β Stage 5: Full REST Single Document β Cold: 4.23 ms β Warm: 0.293 ms β p95: 0.528 ms β 12,425 RPS β
β Stage 6: GraphQL Single Query (JIT) β Cold: 3.15 ms β Warm: 1.432 ms β p95: 1.871 ms β 2,706 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ EVENT LOOP LAG & SATURATION Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β EVENT LOOP LAG & SATURATION (POSTGRESQL) β β File: tests/benchmarks/event-loop-lag.test.ts β β Ran: 2026-10-06 11:01:59 β βMeasures event loop delay (p50, p95, p99, max) and microtask drain speed under concurrent write bursts.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Idle Baseline Lag β 0.000 ms β p95: 0.000 ms β RPS: 1,182 β β Write Burst Lag (200 writes @ 16c) β 0.000 ms β p95: 0.000 ms β RPS: 962 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Ingestion Β· π’ 0.203ms Β· β‘οΈ βͺ established at 0.203ms (1 run) (2026-10-15 16:05:02) Β· source
> β³ Pendingπ·οΈ DB Β· π’ 0.543ms Β· β‘οΈ βͺ established at 0.543ms (1 run) (2026-09-26 23:02:36) Β· source
> β³ PendingAPI Β· 9 tests
π·οΈ Temporal Integrity Audit Β· βͺ 2.923ms Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β TEMPORAL INTEGRITY β β File: tests/benchmarks/temporal-integrity.test.ts β β Ran: 2026-08-23 22:08:48 β βValidates deterministic UTC normalization of ISO date strings across timezone offsets for consistent persistence.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Timezone Ingestion β 4.762 ms β p95: 4.762 ms β RPS: 210 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Relational & Nested Queries Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β RELATIONAL RESOLVER AUDIT β β File: tests/benchmarks/relational-performance.test.ts β β Ran: 2026-08-29 20:57:20 β βMeasures GraphQL resolver performance for shallow listings, deep relational joins, and nested author population across cold/hot execution paths.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Shallow Query (Collections) β Cold: 2.87 ms β Warm: 2.707 ms β p95: 4.494 ms β 2,064 RPS β β Deep Join (Cold DB) β Cold: 3.14 ms β Warm: 2.225 ms β p95: 3.868 ms β 1,645 RPS β β Deep Join (Warm Cached) β Cold: 1.63 ms β Warm: 1.765 ms β p95: 2.902 ms β 2,049 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Auth & RBAC Performance Β· βͺ 1.122ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 61% β check connection pool saturation or lock contention.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β AUTHENTICATION TELEMETRY β
β File: tests/benchmarks/auth-performance.test.ts β
β Ran: 2026-10-06 10:55:29 β
β Evaluates authenticated session resolution, RBAC evaluation, and rejection paths. β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Unauthenticated (401 reject) β Cold: 2.49 ms β Warm: 0.810 ms β p95: 0.989 ms β 1,213 RPS β
β Reject: unknown session cookie β Cold: 0.99 ms β Warm: 0.893 ms β p95: 1.067 ms β 1,095 RPS β
β Reject: unknown API key (Bearer sck_) β Cold: 1.13 ms β Warm: 0.832 ms β p95: 1.032 ms β 1,176 RPS β
β Auth Validation @ 1c β Cold: 2.26 ms β Warm: 0.734 ms β p95: 1.066 ms β 1,286 RPS β
β HTTP Auth Pipeline @ 8c β Cold: 2.93 ms β Warm: 1.929 ms β p95: 2.379 ms β 4,034 RPS β
β Auth (full chain) @ 1c β Cold: 2.07 ms β Warm: 0.358 ms β p95: 0.553 ms β 2,596 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ REST API Performance Β· βͺ 0.859ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. Throughput dropped 35% β check connection pool saturation or lock contention. **Severe degradation** (+68%) β review recent commits immediately.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β ENTERPRISE REST API AUDIT β
β File: tests/benchmarks/rest-api-performance.test.ts β
β Ran: 2026-10-06 09:35:45 β
βMeasures latency, throughput, and correctness of core REST endpoints: health check, schema, single read, list, and search.β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β System Health Check β Cold: 1.53 ms β Warm: 0.859 ms β p95: 1.391 ms β 4,454 RPS β
β Collection Schema Metadata β Cold: 6.07 ms β Warm: 0.424 ms β p95: 0.871 ms β 8,132 RPS β
β Single Document Read β Cold: 2.30 ms β Warm: 0.425 ms β p95: 0.817 ms β 8,249 RPS β
β Collection Find (List Limit 20) β Cold: 8.54 ms β Warm: 0.581 ms β p95: 0.888 ms β 6,069 RPS β
β Collection Search Query β Cold: 3.05 ms β Warm: 0.527 ms β p95: 0.914 ms β 6,621 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ GraphQL API Performance Β· βͺ 0.724ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective. Throughput dropped 51% β check connection pool saturation or lock contention.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β GRAPHQL CACHE HIT AUDIT β
β File: tests/benchmarks/graphql-cache-hit.test.ts β
β Ran: 2026-10-06 09:41:56 β
β Validates sub-millisecond L1 response cache hits, cache key isolation, and hit headers. β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Q1: Health (Cold Miss) β 4.110 ms β p95: 4.110 ms β RPS: 243 β
β Q1: Health (L1 Hit) β 0.995 ms β p95: 1.225 ms β RPS: 1,005 β
β Q2: Collections (Cold Miss) β 1.729 ms β p95: 1.729 ms β RPS: 578 β
β Q2: Collections (L1 Hit) β 1.002 ms β p95: 1.518 ms β RPS: 998 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Enterprise SEO Suite Audit Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β ENTERPRISE SEO AUDIT β β File: tests/benchmarks/seo-performance.test.ts β β Ran: 2026-08-29 20:57:26 β βMeasures redirect lookup latency, dynamic sitemap.xml generation, robots.txt serving, and 404 logging performance.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Redirect Lookup (301) β Cold: 1.17 ms β Warm: 1.525 ms β p95: 2.626 ms β 5,187 RPS β β Dynamic Sitemap XML β Cold: 18.70 ms β Warm: 0.924 ms β p95: 1.533 ms β 8,591 RPS β β Robots.txt Generation β Cold: 2.15 ms β Warm: 1.733 ms β p95: 2.857 ms β 4,586 RPS β β Missing Path (404 Log) β Cold: 59.89 ms β Warm: 17.365 ms β p95: 24.798 ms β 457 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ REAL-TIME BROADCAST AUDIT Β· βͺ 0.142ms Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β YJS COLLABORATION SYNC AUDIT β β File: tests/benchmarks/websocket-broadcast.test.ts β β Ran: 2026-10-06 11:01:02 β βMeasures WebSocket handshake latency, bidirectional Yjs CRDT update propagation, and synchronization throughput.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β WS Handshake + SyncStep β 6.870 ms β p95: 0.000 ms β RPS: 0 β β Yjs CRDT Propagation β Cold: 2.27 ms β Warm: 0.213 ms β p95: 0.517 ms β 3,899 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ WebSocket & Realtime Latency Β· βͺ β³ pending Β· β‘οΈ β Β· source
> β³ **WebSocket & Realtime Latency**: Pending execution. > π― Benchmarks WebSocket connection/broadcast latency.π·οΈ GraphQL Response Cache Hit Β· βͺ 1.002ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β GRAPHQL CACHE HIT AUDIT β
β File: tests/benchmarks/graphql-cache-hit.test.ts β
β Ran: 2026-10-06 11:02:01 β
β Validates sub-millisecond L1 response cache hits, cache key isolation, and hit headers. β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Q1: Health (Cold Miss) β 5.163 ms β p95: 5.163 ms β RPS: 194 β
β Q1: Health (L1 Hit) β 1.080 ms β p95: 1.590 ms β RPS: 926 β
β Q2: Collections (Cold Miss) β 2.062 ms β p95: 2.062 ms β RPS: 485 β
β Q2: Collections (L1 Hit) β 0.985 ms β p95: 1.288 ms β RPS: 1,015 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Scale Β· 18 tests
π·οΈ Negative Cache Performance Β· βͺ 0.001ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β NEGATIVE CACHE PERFORMANCE AUDIT β
β File: tests/benchmarks/negative-cache.test.ts β
β Ran: 2026-08-23 22:41:20 β
β Measures Bloom-filter style missing-key cache speedup for repeated misses β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β First Miss (DB) β 2.487 ms β p95: 4.448 ms β RPS: 400 β
β Cached Miss (Negative Cache) β 0.001 ms β p95: 0.002 ms β RPS: 828,497 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Revision & History Growth Β· βͺ 0.446ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β REVISION STRESS AUDIT β
β File: tests/benchmarks/revision-stress.test.ts β
β Ran: 2026-10-06 09:37:59 β
βMeasures latest read degradation, history retrieval speed, and storage footprint under heavy revision growth (100 revisions).β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Clean Document Read (Baseline) β Cold: 3.26 ms β Warm: 0.525 ms β p95: 0.772 ms β 7,275 RPS β
β Latest Read (100 Revisions) β Cold: 3.37 ms β Warm: 0.446 ms β p95: 0.768 ms β 8,386 RPS β
β History List Retrieval β Cold: 6.29 ms β Warm: 1.498 ms β p95: 1.953 ms β 1,280 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Memory Stability & GC Behavior Β· βͺ β³ pending Β· β‘οΈ β Β· source
> β³ **Memory Stability & GC Behavior**: Pending execution. > π― Long-running soak test to identify memory leaks and GC pressure.π·οΈ Multi-Tenant Performance & Isolation Β· βͺ 0.826ms Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β MULTI-TENANCY PERFORMANCE AUDIT β β File: tests/benchmarks/multi-tenant-performance.test.ts β β Ran: 2026-10-06 09:36:27 β βMeasures the overhead of tenant isolation, context switching, and data partitioning across many tenants.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Single Tenant Baseline β Cold: 4.88 ms β Warm: 0.918 ms β p95: 1.259 ms β 8,376 RPS β β Multi-Tenant Context Switching β Cold: 0.87 ms β Warm: 0.826 ms β p95: 1.211 ms β 8,957 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Realistic Mixed Workload Β· βͺ 0.798ms Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β MIXED WORKLOAD AUDIT β β File: tests/benchmarks/mixed-workload.test.ts β β Ran: 2026-10-06 09:36:45 β βSimulates real-world traffic with a weighted mix of reads, searches, GraphQL queries, and metadata requests with per-operation telemetry.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Mixed Workload β Cold: 8.29 ms β Warm: 0.798 ms β p95: 2.513 ms β 7,418 RPS β β Mix: REST Read β 0.955 ms β p95: 1.810 ms β RPS: 1,942 β β Mix: REST Search β 1.001 ms β p95: 1.830 ms β RPS: 636 β β Mix: GraphQL β 2.695 ms β p95: 4.807 ms β RPS: 493 β β Mix: Metadata β 0.992 ms β p95: 1.740 ms β RPS: 172 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ GraphQL Load Stress Β· βͺ 10.161ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits. **Severe degradation** (+98%) β review recent commits immediately.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β GRAPHQL CAPACITY DISCOVERY β
β File: tests/benchmarks/graphql-stress.test.ts β
β Ran: 2026-10-06 10:55:40 β
β Discovers maximum sustainable GraphQL throughput by ramping concurrency β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β GQL: 5c Warmup β Cold: 2.53 ms β Warm: 1.334 ms β p95: 2.161 ms β 3,531 RPS β
β GQL: 10c Light β Cold: 2.24 ms β Warm: 2.056 ms β p95: 2.595 ms β 4,740 RPS β
β GQL: 20c Moderate β Cold: 2.91 ms β Warm: 4.099 ms β p95: 7.955 ms β 4,126 RPS β
β GQL: 40c Heavy β Cold: 2.43 ms β Warm: 5.660 ms β p95: 9.026 ms β 6,711 RPS β
β GQL: 60c Stress β Cold: 1.71 ms β Warm: 6.906 ms β p95: 10.754 ms β 8,111 RPS β
β GQL: 80c Extreme β Cold: 2.15 ms β Warm: 12.039 ms β p95: 24.008 ms β 6,059 RPS β
β GQL: 100c Max β Cold: 1.82 ms β Warm: 15.209 ms β p95: 22.688 ms β 6,434 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Bulk Migration & Scale Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β MIGRATION & SCALE AUDIT β β File: tests/benchmarks/migration-scale.test.ts β β Ran: 2026-08-29 21:01:33 β βMeasures bulk ingestion throughput for 10,000 entries, random point-lookups, and indexed range scans across large datasets.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Bulk Migration (10k docs) β Cold: 123.65 ms β Warm: 25.910 ms β p95: 57.352 ms β 14,636 RPS β β Random Point Lookup β Cold: 9.01 ms β Warm: 4.645 ms β p95: 8.035 ms β 1,226 RPS β β Range Scan & Pagination β Cold: 26.17 ms β Warm: 1.210 ms β p95: 1.879 ms β 4,642 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Million-Row Index Pressure Β· βͺ 0.837ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Both avg and p95 degraded β likely adapter or infrastructure bottleneck. Check DB connection pool, indexes, or recent commits.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β INDEX PRESSURE AUDIT β
β File: tests/benchmarks/index-pressure.test.ts β
β Ran: 2026-10-06 09:37:49 β
β Measures read performance with sorting and filtering on a large entry collection. β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Sorted List (25k rows) β Cold: 6.28 ms β Warm: 0.837 ms β p95: 1.382 ms β 4,722 RPS β
β Filtered Query (25k rows) β Cold: 4.26 ms β Warm: 0.796 ms β p95: 1.513 ms β 4,988 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Content Scale Stress Β· βͺ 0.134ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective.βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β CONTENT SCALE STRESS AUDIT β
β File: tests/benchmarks/content-scale-stress.test.ts β
β Ran: 2026-10-06 10:59:15 β
β Measures file-scanning and content discovery performance at scale (1,000+ collections). β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Cold Stress Scan (1000 files) β 0.752 ms β p95: 0.856 ms β RPS: 1,329 β
β Warm Stress Scan (1000 files) β Cold: 0.46 ms β Warm: 0.151 ms β p95: 0.208 ms β 6,229 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Media Upload Stress & Throughput Β· βͺ 5.908ms Β· βοΈ β Β· source
> [!NOTE] > **Specific to this test**: Performance improved β recent optimizations or cache warming likely effective. > **Check**: `src/services/MediaService.ts` Β· `src/databases/media/`βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SVELTYCMS β MEDIA UPLOAD STRESS AUDIT β
β File: tests/benchmarks/media-upload-stress.test.ts β
β Ran: 2026-10-06 09:40:09 β
βMeasures throughput for large file uploads, concurrent transfers, and streaming efficiency with valid media fixtures.β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Single Upload (0.01MB) β Cold: 8.75 ms β Warm: 5.079 ms β p95: 5.436 ms β 197 RPS β
β Small Upload (0MB @ 4c) β Cold: 8.76 ms β Warm: 5.908 ms β p95: 8.632 ms β 650 RPS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π·οΈ Full Client Journey Simulation Β· βͺ 5.719ms Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β WORLD LIFE DATA β β File: tests/benchmarks/client-journey.test.ts β β Ran: 2026-10-06 10:57:12 β β Measures cumulative latency of a realistic editorial user workflow: Auth β List β View β Edit β Save. β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Full Journey @ 1c β Cold: 19.89 ms β Warm: 5.366 ms β p95: 6.212 ms β 186 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Concurrency & Race Condition Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β CONCURRENCY AUDIT β β File: tests/benchmarks/concurrency-race.test.ts β β Ran: 2026-10-06 09:40:27 β β Simulates high-concurrency writes to a single document to prove atomic consistency. β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Concurrent PATCH Bomb β 13.318 ms β p95: 19.669 ms β RPS: 1,807 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Multi-Doc Concurrency Throughput Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β DIRECT ADAPTER THROUGHPUT (POSTGRESQL) β β File: tests/benchmarks/local-api-throughput.test.ts β β Ran: 2026-10-06 09:38:00 β βMeasures direct adapter write throughput, read throughput, and percentile latencies with zero HTTP overhead.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Writes (1000 atomic increments) β 1.620 ms β p95: 2.280 ms β RPS: 4,952 β β Reads (1000 point lookups) β 1.375 ms β p95: 2.590 ms β RPS: 9,273 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Max Throughput β No Throttle Β· βͺ 22.034ms Β· β‘οΈ β Β· source
> β³ **Max Throughput β No Throttle**: Pending execution. > π― 1000 concurrent writes across 100 docs β no semaphore.π·οΈ Failure Propagation & Fast-Fail Audit Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β AI INFRASTRUCTURE AUDIT β β File: tests/benchmarks/ai-performance.test.ts β β Ran: 2026-10-06 10:56:49 β β Measures the latency tax of internal CMS logic for AI enrichment and layout generation. β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β AI Text Enrichment β Cold: 0.05 ms β Warm: 0.000 ms β p95: 0.001 ms β 1,372,998 RPS β β AI Layout Spec Generation β Cold: 0.03 ms β Warm: 0.000 ms β p95: 0.001 ms β 1,312,336 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Chaos & Infrastructure Resilience Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β CHAOS RESILIENCE AUDIT β β File: tests/benchmarks/chaos-resilience.test.ts β β Ran: 2026-07-21 16:16:17 β βSimulates infrastructure brownouts and measures system stability and graceful degradation under stress.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Chaos Resilience (Brownout) β 170.556 ms β p95: 686.820 ms β RPS: 6 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Production Day Simulation Β· βͺ 1.799ms Β· β‘οΈ β Β· source
> β³ **Production Day Simulation**: Pending execution. > π― Full production day with mixed workload, 100% reliability.Resilience Β· 5 tests
π·οΈ Circuit Breaker Failover Β· βͺ β³ pending Β· β‘οΈ β Β· source
> β³ **Circuit Breaker Failover**: Pending execution. > π― Measures system graceful degradation when external services fail.π·οΈ Throttling & Backoff Stress Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β THROTTLING AUDIT β β File: tests/benchmarks/throttling-backoff-stress.test.ts β β Ran: 2026-07-21 16:20:21 β βSimulates high-velocity traffic from a single client IP to verify rate-limiting enforcement and backoff consistency.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Throttling Enforcement β 2.568 ms β p95: 5.015 ms β RPS: 389 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ GDPR Compliance Speed Β· βͺ 12.657ms Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β GDPR COMPLIANCE AUDIT β β File: tests/benchmarks/right-to-be-forgotten-audit.test.ts β β Ran: 2026-10-06 09:37:53 β βMeasures the latency, cascading relational integrity, and throughput of deep user erasure across all linked repositories.β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Deep Deletion Speed β Cold: 33.06 ms β Warm: 12.657 ms β p95: 15.106 ms β 77 RPS β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π·οΈ Data Residency & Sovereignty Β· βͺ β³ pending Β· β‘οΈ β Β· source
> β³ **Data Residency & Sovereignty**: Pending execution. > π― PII blocking and data sovereignty enforcement with cross-region failover.π·οΈ Database Failover & Reconnection Β· βͺ β³ pending Β· β‘οΈ β Β· source
``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β SVELTYCMS β DATABASE FAILOVER AUDIT β β File: tests/benchmarks/database-failover.test.ts β β Ran: 2026-07-21 16:20:14 β β Simulates database connection loss mid-request and measures circuit breaker activation, β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ β Baseline Health Check β 0.247 ms β p95: 0.342 ms β RPS: 4,054 β β Degraded Dependency β 0.595 ms β p95: 0.951 ms β RPS: 1,680 β β Post-Recovery Health β 2.168 ms β p95: 3.147 ms β RPS: 461 β β Reconnect Time β 0.424 ms β p95: 0.424 ms β RPS: 0 β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ```π¬ Host environment
| Host | Platform | Arch | Cores | RAM | Runtime |
|---|---|---|---|---|---|
| RKroells | win32 | x64 | 24 | 63GB | Bun 1.4.2 |