Skip to content

Documentation

PostgreSQL + Redis Performance Audit

Database performance benchmarks with trend analysis and competitive context.

7/4/2026
34 min read Edit on GitHub
Note

Competitive comparisons based on publicly available documentation as of June 2026. All SveltyCMS metrics self-measured via bun test tests/benchmarks/.

Important

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

Note

Phase notes and remediation entries appear here after matrix or surgical runs.

(06/10/2026, 13:03:51)

βœ… PASS Β· 22/45 tests Β· 23 skipped Β· POSTGRESQL+REDIS Β· Bun 1.4.2

Dimension health

Dimension Tests Status Worst Ξ” Issues
Core 13 🟒 +631% 0
API 9 🟒 -52% 0
Scale 18 🟒 +147% 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)
xychart-beta title "POSTGRESQL+REDIS REST p95 (last 10 runs)" x-axis ["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"] y-axis "Latency (ms)" line "p95" : [0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000]
πŸ“Š Regression severity matrix (quadrant)
quadrantChart title "Regression severity (impact vs delta)" x-axis Low latency impact --> High latency impact y-axis Low delta --> High delta quadrant-1 Monitor quadrant-2 Investigate soon quadrant-3 Acceptable variance quadrant-4 Critical β€” fix first API LAYER LATENCY: [0.32, 0.95] COMPETITIVE 9-WORKLOAD REPLI: [0.10, 0.08] MIDDLEWARE FLAMEGRAPH PROFIL: [0.11, 0.16] Incremental Content Reload: [0.05, 0.31] Database Adapter Raw CRUD: [0.05, 0.09] REST API Performance: [0.05, 0.08] GraphQL API Performance: [0.07, 0.06] GraphQL Response Cache Hit: [0.08, 0.08]

Current Run Summary

Only tests that ran in THIS invocation. Populated after BENCHMARK_RECORD=1 or matrix run.

Historical Trends (2026-10-06)

Mode: production-parity matrix runs only (run_mode='matrix' + server_mode='production' β€” NODE_ENV=production, no TEST_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=1 ORDER BY timestamp DESC

Series: 54 Β· DB: postgresql-redis

Metric Trend Sparkline (last 7) Latest
ADMIN UX VITALITY (warm) 🟒 β–ˆβ– 0.490ms
AI PERFORMANCE (warm) 🟒 ▁▁ 0.000ms
AUTH PERFORMANCE (warm) 🟒 β–β–ƒβ–ˆβ–ƒβ–ƒβ–ƒ 0.810ms
AUTH SESSION AMR (warm) 🟒 β–β–ˆβ–‚β–ˆ 0.987ms
BUILD ANALYSIS (warm) 🟒 ▁ 0.000ms
CACHE HIT RATIO (warm) 🟒 β–…β–†β–β–ˆ 1.324ms
CACHE PERFORMANCE (warm) 🟒 β–β–ˆ 0.817ms
CACHE SERVICE (warm) 🟒 β–β–†β–ˆ 0.738ms
CLIENT JOURNEY (warm) 🟒 ▁ 5.366ms
COMPETITIVE WORKLOAD REPLICA (warm) 🟒 β–β–‚β–β–…β–‚β–ˆβ–‚ 1.185ms
CONCURRENCY MAX (warm) 🟒 ▁ 26.398ms
CONTENT GUI SAVE (warm) 🟒 ▁ 1.466ms
CONTENT SCALE STRESS (warm) 🟒 β–ˆβ– 0.151ms
CONTENT SCAN (warm) 🟒 β–ˆβ– 0.658ms
DATABASE PERFORMANCE (warm) 🟒 β–‚β–β–‡β–‚β–ˆβ–β– 0.473ms
EDGE SYNC (warm) 🟒 ▁ 2.931ms
ENTRY EDIT HYDRATION (warm) 🟒 β–ˆβ–β–β–† 0.016ms
GRAPHQL API PERFORMANCE (warm) 🟒 β–„β–ƒβ–ˆβ–†β–‚β– 0.797ms
GRAPHQL CACHE HIT (warm) 🟒 β–ˆβ–β–ƒβ– 0.985ms
GRAPHQL LOCAL SDK (warm) 🟒 β–ˆβ– 0.000ms
GRAPHQL STRESS (warm) 🟒 β–ˆβ–β–‚β–ƒβ–β–„β–† 12.039ms
HOOKS PERFORMANCE (warm) 🟒 β–β–ˆβ–β–…β–ƒ 0.785ms
INDEX PRESSURE (warm) 🟒 β–β–ˆ 0.705ms
LARGE PAYLOAD STREAMING (warm) 🟒 β–β–„β–‡β–ˆ 10.582ms
LOCAL API PERFORMANCE (warm) 🟒 β–ˆβ–β–‡ 0.383ms
LOCAL API THROUGHPUT (warm) 🟒 β–β–ˆ 1.841ms
LOCAL CMS CRUD (warm) 🟒 β–ƒβ–ƒβ–ƒβ–ƒβ–β–ˆβ–„ 0.560ms
LOCAL SDK VS DIRECT (warm) 🟒 β–β–β–ˆβ–ˆβ–‡β–ˆβ–‡ 1.457ms
MEDIA UPLOAD STRESS (warm) 🟒 β–β–ˆ 7.713ms
MEMORY COUNTERS (warm) 🟒 ▁ 0.000ms
MIGRATION SCALE (warm) 🟒 β–ˆβ–β– 0.839ms
MIXED WORKLOAD (warm) 🟒 ▁ 1.001ms
MULTI TENANT PERFORMANCE (warm) 🟒 ▁ 0.999ms
OPENAPI PERFORMANCE (warm) 🟒 β–‡β–β–ˆ 2.070ms
PRODUCTION DAY (warm) 🟒 ▁ 1.912ms
REALTIME PERFORMANCE (warm) 🟒 ▁▁▁ 0.000ms
REVISION STRESS (warm) 🟒 β–β–ˆβ– 0.478ms
RIGHT TO BE FORGOTTEN AUDIT (warm) 🟒 ▁ 13.241ms
SECURITY AUDIT (warm) 🟒 β–β–β–β–ˆβ–β–β– 0.001ms
SHARP VS BUN IMAGE (warm) 🟒 β–„β–‚β–β–ˆβ–„β–ƒβ–‚ 40.254ms
TELEMETRY PERFORMANCE (warm) 🟒 β–ˆβ– 0.000ms
TEMPORAL INTEGRITY (warm) 🟒 ▁ 2.978ms
TRANSACTION ACID (warm) 🟒 β–β–ˆ 2.150ms
TRUTH LATENCY (warm) 🟒 β–ˆβ–ƒβ–β– 0.000ms
WEBSOCKET BROADCAST (warm) 🟒 ▁ 0.213ms
WIDGET PERFORMANCE (warm) 🟒 β–ˆβ–β–„ 0.977ms
API LATENCY (warm) βšͺ β–…β–‚β–β–β–ˆ 3.818ms
CONFIG PROMOTION (warm) βšͺ β–‚β–‚β–‚β–ˆβ–β– 9.922ms
CONTENT INCREMENTAL RELOAD (warm) βšͺ β–„β–ƒβ–β–ˆ 0.551ms
MEDIA PERFORMANCE (warm) βšͺ β–β–†β–β–„β–‚β–β–ˆ 108.651ms
MIDDLEWARE FLAMEGRAPH (warm) βšͺ β–„β–‚β–‚β–ˆβ–‚β–β–ˆ 1.382ms
NEGATIVE CACHE (warm) βšͺ β–ˆβ–ˆβ– 0.001ms
REST API PERFORMANCE (warm) βšͺ β–†β–„β–„β–β–ˆ 0.591ms
SCALE SPECTRUM (warm) βšͺ β–β–‚β–„β–β–‚β–β–ˆ 2.001ms
πŸ“Š 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 Β· 13 tests
🏷️ API LAYER LATENCY Β· βšͺ 3.818ms Β· ↗️ β€” Β· 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 91% β€” check connection pool saturation or lock contention. **Severe degradation** (+631%) β€” review recent commits immediately. > **Check**: `src/routes/api/[...path]/+server.ts` Β· `src/hooks.server.ts`

⏳ API LAYER LATENCY: Pending execution. 🎯 Measures the base network and HTTP overhead for the simplest possible API calls.

🏷️ PHASED COLD START Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source > ⏳ **PHASED COLD START**: Pending execution. > 🎯 Measures the time to READY state (serving traffic) vs WARMED state (background tasks).
🏷️ 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-06 10:55:07                                        β•‘
β•‘            Validates performance claims by comparing SDK, Middleware, and Real HTTP Stack             β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Logic Baseline               β”‚ Cold:     0.02 ms β”‚ Warm:     0.000 ms β”‚ p95:     0.000 ms β”‚ 571,755 RPS β•‘
β•‘ Local SDK (Full)             β”‚ Cold:    14.33 ms β”‚ Warm:     0.005 ms β”‚ p95:     0.009 ms β”‚ 172,692 RPS β•‘
β•‘ HTTP End-to-End              β”‚ Cold:     5.21 ms β”‚ Warm:     0.247 ms β”‚ p95:     0.318 ms β”‚   4,024 RPS β•‘
β•‘ HTTP Cold (Cache-Busted)     β”‚ Cold:     3.37 ms β”‚ Warm:     1.043 ms β”‚ p95:     2.082 ms β”‚     957 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Incremental Content Reload Β· βšͺ 0.551ms Β· ↗️ β€” Β· 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 78% β€” check connection pool saturation or lock contention. **Severe degradation** (+195%) β€” 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 10:59:14                                        β•‘
β•‘      Measures surgical single-file fullReload vs full reconciliation path and batch processing.       β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Incremental fullReload (1 file) β”‚ Cold:     4.74 ms β”‚ Warm:     0.060 ms β”‚ p95:     0.116 ms β”‚  14,816 RPS β•‘
β•‘ Full Reconciliation Reload   β”‚ Cold:     3.22 ms β”‚ Warm:     0.187 ms β”‚ p95:     0.234 ms β”‚   5,218 RPS β•‘
β•‘ Sequential 10-File Reload    β”‚ Cold:     3.98 ms β”‚ Warm:     0.551 ms β”‚ p95:     0.653 ms β”‚   1,805 RPS β•‘
β•‘ Batched 10-File Reload       β”‚ Cold:     0.96 ms β”‚ Warm:     0.245 ms β”‚ p95:     0.281 ms β”‚   4,035 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Middleware & Hooks Performance Β· βšͺ 0.785ms Β· ➑️ β€” Β· source > ⏳ **Middleware & Hooks Performance**: Pending execution. > 🎯 High-resolution micro-benchmarks (Β΅s) for individual middleware layers.
🏷️ State Machine Transitions Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source > ⏳ **State Machine Transitions**: Pending execution. > 🎯 Validates rapid IDLE -> READY self-healing cycles.
🏷️ Database Adapter Raw CRUD Β· βšͺ 0.473ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective.

⏳ Database Adapter Raw CRUD: Pending execution. 🎯 Direct low-level benchmarks of Create, Read, Update, Delete on the current database adapter.

🏷️ ACID Transaction Overhead Β· βšͺ 2.150ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” ACID INTEGRITY AUDIT β•‘ β•‘ File: tests/benchmarks/transaction-acid.test.ts β•‘ β•‘ Ran: 2026-10-06 10:58:58 β•‘ β•‘ Measures transaction commit latencies and rollback overhead across database adapters β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ TX Commit β”‚ Cold: 2.77 ms β”‚ Warm: 0.732 ms β”‚ p95: 1.222 ms β”‚ 5,022 RPS β•‘ β•‘ TX Rollback Integrity β”‚ Cold: 5.99 ms β”‚ Warm: 2.150 ms β”‚ p95: 2.717 ms β”‚ 464 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ System Cache Efficiency Β· βšͺ 0.817ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” CACHE EFFICIENCY AUDIT β•‘ β•‘ File: tests/benchmarks/cache-hit-ratio.test.ts β•‘ β•‘ Ran: 2026-10-06 10:55:49 β•‘ β•‘ Measures true cold-fill, warm hit ratio, miss penalty, and invalidation latency. β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Cache Cold Fill (Miss + Repopulate) β”‚ 0.976 ms β”‚ p95: 1.159 ms β”‚ RPS: 1,024 β•‘ β•‘ Cache Hit (Warm) β”‚ Cold: 0.35 ms β”‚ Warm: 0.162 ms β”‚ p95: 0.254 ms β”‚ 5,977 RPS β•‘ β•‘ Bypass Cache (Direct DB) β”‚ Cold: 1.04 ms β”‚ Warm: 0.755 ms β”‚ p95: 0.921 ms β”‚ 1,321 RPS β•‘ β•‘ Cache Invalidation β”‚ Cold: 3.50 ms β”‚ Warm: 1.324 ms β”‚ p95: 1.544 ms β”‚ 740 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Cache Hit/Miss Ratio & Efficiency Β· βšͺ 1.324ms Β· ↗️ β€” Β· 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** (+75%) β€” 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-hit-ratio.test.ts                             β•‘
β•‘                                       Ran: 2026-10-06 10:55:49                                        β•‘
β•‘           Measures true cold-fill, warm hit ratio, miss penalty, and invalidation latency.            β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Cache Cold Fill (Miss + Repopulate) β”‚        0.976 ms β”‚ p95:        1.159 ms β”‚ RPS:      1,024 β•‘
β•‘ Cache Hit (Warm)             β”‚ Cold:     0.35 ms β”‚ Warm:     0.162 ms β”‚ p95:     0.254 ms β”‚   5,977 RPS β•‘
β•‘ Bypass Cache (Direct DB)     β”‚ Cold:     1.04 ms β”‚ Warm:     0.755 ms β”‚ p95:     0.921 ms β”‚   1,321 RPS β•‘
β•‘ Cache Invalidation           β”‚ Cold:     3.50 ms β”‚ Warm:     1.324 ms β”‚ p95:     1.544 ms β”‚     740 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ COMPETITIVE 9-WORKLOAD REPLICA Β· βšͺ 1.185ms Β· ↗️ β€” Β· source > [!NOTE] > **Specific to this test**: Avg degraded but p95 stable β€” possible cold-start effect, GC pause, or warmup variance. Throughput dropped 80% β€” check connection pool saturation or lock contention. **Severe degradation** (+49%) β€” review recent commits immediately.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                   COMPETITIVE HARNESS REPLICA (POSTGRESQL β€” 500 Docs, COLD vs WARM)                   β•‘
β•‘                      File: tests/benchmarks/competitive-workload-replica.test.ts                      β•‘
β•‘                                       Ran: 2026-10-06 11:01:47                                        β•‘
β•‘              Seq + concurrent (8 workers), harness iteration counts, median of N rounds.              β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ findById (Cold Sequential)   β”‚ Cold:     5.15 ms β”‚ Warm:     0.456 ms β”‚ p95:     1.003 ms β”‚   2,160 RPS β•‘
β•‘ findById (Cold Concurrent 8c) β”‚ Cold:    13.73 ms β”‚ Warm:     2.801 ms β”‚ p95:    15.290 ms β”‚   2,791 RPS β•‘
β•‘ findByIdRandom (Cold Sequential) β”‚ Cold:     3.19 ms β”‚ Warm:     1.342 ms β”‚ p95:     2.074 ms β”‚     744 RPS β•‘
β•‘ findByIdRandom (Cold Concurrent 8c) β”‚ Cold:     1.32 ms β”‚ Warm:     4.784 ms β”‚ p95:     7.664 ms β”‚   1,619 RPS β•‘
β•‘ listFilterSort (Cold Sequential) β”‚ Cold:     5.18 ms β”‚ Warm:     0.382 ms β”‚ p95:     0.475 ms β”‚   2,605 RPS β•‘
β•‘ listFilterSort (Cold Concurrent 8c) β”‚ Cold:     0.47 ms β”‚ Warm:     1.533 ms β”‚ p95:     2.760 ms β”‚   5,064 RPS β•‘
β•‘ listLarge (Cold Sequential)  β”‚ Cold:     6.59 ms β”‚ Warm:     0.460 ms β”‚ p95:     0.569 ms β”‚   2,166 RPS β•‘
β•‘ listLarge (Cold Concurrent 8c) β”‚ Cold:     0.35 ms β”‚ Warm:     1.413 ms β”‚ p95:     2.337 ms β”‚   5,495 RPS β•‘
β•‘ listPlain (Cold Sequential)  β”‚ Cold:     3.84 ms β”‚ Warm:     0.288 ms β”‚ p95:     0.405 ms β”‚   3,462 RPS β•‘
β•‘ listPlain (Cold Concurrent 8c) β”‚ Cold:     0.23 ms β”‚ Warm:     1.035 ms β”‚ p95:     1.642 ms β”‚   7,373 RPS β•‘
β•‘ findMissing (Cold Sequential) β”‚ Cold:     4.45 ms β”‚ Warm:     0.297 ms β”‚ p95:     0.460 ms β”‚   3,354 RPS β•‘
β•‘ findMissing (Cold Concurrent 8c) β”‚ Cold:     0.32 ms β”‚ Warm:     1.100 ms β”‚ p95:     2.451 ms β”‚   6,699 RPS β•‘
β•‘ create (Cold Sequential)     β”‚ Cold:     7.07 ms β”‚ Warm:     2.002 ms β”‚ p95:     3.187 ms β”‚     499 RPS β•‘
β•‘ create (Cold Concurrent 8c)  β”‚ Cold:     4.05 ms β”‚ Warm:     6.438 ms β”‚ p95:    10.863 ms β”‚   1,212 RPS β•‘
β•‘ update (Cold Sequential)     β”‚ Cold:     2.37 ms β”‚ Warm:     1.646 ms β”‚ p95:     2.170 ms β”‚     607 RPS β•‘
β•‘ update (Cold Concurrent 8c)  β”‚ Cold:     3.27 ms β”‚ Warm:     5.759 ms β”‚ p95:     9.615 ms β”‚   1,321 RPS β•‘
β•‘ graphql (Cold Sequential)    β”‚ Cold:     5.35 ms β”‚ Warm:     1.008 ms β”‚ p95:     1.360 ms β”‚     990 RPS β•‘
β•‘ graphql (Cold Concurrent 8c) β”‚ Cold:     2.36 ms β”‚ Warm:     2.313 ms β”‚ p95:     4.370 ms β”‚   3,348 RPS β•‘
β•‘ mixed (Cold Sequential)      β”‚ Cold:     1.23 ms β”‚ Warm:     0.963 ms β”‚ p95:     1.570 ms β”‚   1,036 RPS β•‘
β•‘ mixed (Cold Concurrent 8c)   β”‚ Cold:     0.40 ms β”‚ Warm:     3.183 ms β”‚ p95:     6.805 ms β”‚   2,445 RPS β•‘
β•‘ findById (Warm Sequential)   β”‚ Cold:     0.84 ms β”‚ Warm:     0.215 ms β”‚ p95:     0.331 ms β”‚   4,612 RPS β•‘
β•‘ findById (Warm Concurrent 8c) β”‚ Cold:     0.17 ms β”‚ Warm:     0.878 ms β”‚ p95:     1.162 ms β”‚   9,032 RPS β•‘
β•‘ findByIdRandom (Warm Sequential) β”‚ Cold:     0.63 ms β”‚ Warm:     0.206 ms β”‚ p95:     0.359 ms β”‚   4,830 RPS β•‘
β•‘ findByIdRandom (Warm Concurrent 8c) β”‚ Cold:     0.24 ms β”‚ Warm:     1.027 ms β”‚ p95:     1.954 ms β”‚   7,745 RPS β•‘
β•‘ listFilterSort (Warm Sequential) β”‚ Cold:     0.83 ms β”‚ Warm:     0.277 ms β”‚ p95:     0.400 ms β”‚   3,599 RPS β•‘
β•‘ listFilterSort (Warm Concurrent 8c) β”‚ Cold:     0.33 ms β”‚ Warm:     0.652 ms β”‚ p95:     0.933 ms β”‚  12,021 RPS β•‘
β•‘ listLarge (Warm Sequential)  β”‚ Cold:     1.18 ms β”‚ Warm:     0.397 ms β”‚ p95:     0.713 ms β”‚   2,511 RPS β•‘
β•‘ listLarge (Warm Concurrent 8c) β”‚ Cold:     0.41 ms β”‚ Warm:     1.257 ms β”‚ p95:     1.884 ms β”‚   6,294 RPS β•‘
β•‘ listPlain (Warm Sequential)  β”‚ Cold:     0.98 ms β”‚ Warm:     0.260 ms β”‚ p95:     0.417 ms β”‚   3,832 RPS β•‘
β•‘ listPlain (Warm Concurrent 8c) β”‚ Cold:     0.29 ms β”‚ Warm:     0.715 ms β”‚ p95:     0.801 ms β”‚  10,975 RPS β•‘
β•‘ findMissing (Warm Sequential) β”‚ Cold:     0.72 ms β”‚ Warm:     0.184 ms β”‚ p95:     0.464 ms β”‚   5,403 RPS β•‘
β•‘ findMissing (Warm Concurrent 8c) β”‚ Cold:     0.21 ms β”‚ Warm:     0.646 ms β”‚ p95:     1.007 ms β”‚  12,089 RPS β•‘
β•‘ create (Warm Sequential)     β”‚ Cold:     9.58 ms β”‚ Warm:     1.294 ms β”‚ p95:     1.726 ms β”‚     772 RPS β•‘
β•‘ create (Warm Concurrent 8c)  β”‚ Cold:     3.44 ms β”‚ Warm:     4.761 ms β”‚ p95:     6.829 ms β”‚   1,670 RPS β•‘
β•‘ update (Warm Sequential)     β”‚ Cold:     2.76 ms β”‚ Warm:     1.185 ms β”‚ p95:     1.625 ms β”‚     843 RPS β•‘
β•‘ update (Warm Concurrent 8c)  β”‚ Cold:     2.32 ms β”‚ Warm:     4.615 ms β”‚ p95:     8.257 ms β”‚   1,726 RPS β•‘
β•‘ graphql (Warm Sequential)    β”‚ Cold:     1.88 ms β”‚ Warm:     0.817 ms β”‚ p95:     0.989 ms β”‚   1,221 RPS β•‘
β•‘ graphql (Warm Concurrent 8c) β”‚ Cold:     2.21 ms β”‚ Warm:     1.932 ms β”‚ p95:     2.516 ms β”‚   4,118 RPS β•‘
β•‘ mixed (Warm Sequential)      β”‚ Cold:     2.66 ms β”‚ Warm:     0.795 ms β”‚ p95:     1.444 ms β”‚   1,256 RPS β•‘
β•‘ mixed (Warm Concurrent 8c)   β”‚ Cold:     0.30 ms β”‚ Warm:     2.900 ms β”‚ p95:     6.051 ms β”‚   2,735 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ MIDDLEWARE FLAMEGRAPH PROFILER Β· βšͺ 1.382ms Β· ↗️ β€” Β· 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 45% β€” check connection pool saturation or lock contention. **Severe degradation** (+102%) β€” review recent commits immediately.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                              MIDDLEWARE FLAMEGRAPH PROFILER (POSTGRESQL)                              β•‘
β•‘                         File: tests/benchmarks/middleware-flamegraph.test.ts                          β•‘
β•‘                                       Ran: 2026-10-06 11:02:44                                        β•‘
β•‘Measures isolated microsecond cost and incremental deltas of each middleware stage from edge to database.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Stage 0: Raw Socket Baseline (Static Asset) β”‚ Cold:     4.29 ms β”‚ Warm:     0.856 ms β”‚ p95:     1.952 ms β”‚   4,040 RPS β•‘
β•‘ Stage 1: System State + Turbo Pipeline β”‚ Cold:     1.58 ms β”‚ Warm:     0.693 ms β”‚ p95:     1.306 ms β”‚   5,244 RPS β•‘
β•‘ Stage 2: WAF Security Inspection β”‚ Cold:     1.42 ms β”‚ Warm:     0.675 ms β”‚ p95:     1.055 ms β”‚   5,537 RPS β•‘
β•‘ Stage 3: Token Auth Gating   β”‚ Cold:     8.76 ms β”‚ Warm:     1.444 ms β”‚ p95:     2.183 ms β”‚   2,629 RPS β•‘
β•‘ Stage 4: Collection Schema Resolution β”‚ Cold:     5.21 ms β”‚ Warm:     0.636 ms β”‚ p95:     1.183 ms β”‚   5,909 RPS β•‘
β•‘ Stage 5: Full REST Single Document β”‚ Cold:     4.36 ms β”‚ Warm:     0.516 ms β”‚ p95:     0.695 ms β”‚   7,399 RPS β•‘
β•‘ Stage 6: GraphQL Single Query (JIT) β”‚ Cold:     3.34 ms β”‚ Warm:     1.382 ms β”‚ p95:     2.060 ms β”‚   2,812 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ EVENT LOOP LAG & SATURATION Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source > ⏳ **EVENT LOOP LAG & SATURATION**: Pending execution. > 🎯 Measures event loop delay and microtask drain during continuous write bursts.
API Β· 9 tests
🏷️ Temporal Integrity Audit Β· βšͺ 2.978ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” TEMPORAL INTEGRITY AUDIT β•‘ β•‘ File: tests/benchmarks/temporal-integrity.test.ts β•‘ β•‘ Ran: 2026-10-06 10:57:10 β•‘ β•‘Validates strict backend UTC normalization (ISO 8601 with trailing 'Z') across global timezone offsets, fractional timezones, and midnight transitions.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Temporal Ingestion & Normalization β”‚ Cold: 4.48 ms β”‚ Warm: 2.978 ms β”‚ p95: 4.837 ms β”‚ 1,279 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Relational & Nested Queries Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” RELATIONAL RESOLVER AUDIT β•‘ β•‘ File: tests/benchmarks/relational-performance.test.ts β•‘ β•‘ Ran: 2026-08-29 21:42:31 β•‘ β•‘Measures GraphQL resolver performance for shallow listings, deep relational joins, and nested author population across cold/hot execution paths.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Shallow Query (Collections) β”‚ Cold: 2.72 ms β”‚ Warm: 2.705 ms β”‚ p95: 4.179 ms β”‚ 2,079 RPS β•‘ β•‘ Deep Join (Cold DB) β”‚ Cold: 2.83 ms β”‚ Warm: 2.283 ms β”‚ p95: 3.149 ms β”‚ 1,661 RPS β•‘ β•‘ Deep Join (Warm Cached) β”‚ Cold: 1.82 ms β”‚ Warm: 1.746 ms β”‚ p95: 2.546 ms β”‚ 2,127 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Auth & RBAC Performance Β· βšͺ 0.810ms Β· ➑️ β€” Β· source > ⏳ **Auth & RBAC Performance**: Pending execution. > 🎯 Measures JWT verification, session retrieval, and permission matrix resolution overhead.
🏷️ REST API Performance Β· βšͺ 0.591ms Β· ↗️ β€” Β· 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 40% β€” check connection pool saturation or lock contention. **Severe degradation** (+51%) β€” review recent commits immediately.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                                 SVELTYCMS β€” ENTERPRISE REST API AUDIT                                 β•‘
β•‘                          File: tests/benchmarks/rest-api-performance.test.ts                          β•‘
β•‘                                       Ran: 2026-10-06 10:55:18                                        β•‘
β•‘Measures latency, throughput, and correctness of core REST endpoints: health check, schema, single read, list, and search.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ System Health Check          β”‚ Cold:     1.23 ms β”‚ Warm:     0.591 ms β”‚ p95:     0.725 ms β”‚   6,540 RPS β•‘
β•‘ Collection Schema Metadata   β”‚ Cold:     4.59 ms β”‚ Warm:     0.383 ms β”‚ p95:     0.445 ms β”‚  10,316 RPS β•‘
β•‘ Single Document Read         β”‚ Cold:     2.43 ms β”‚ Warm:     0.240 ms β”‚ p95:     0.273 ms β”‚  16,388 RPS β•‘
β•‘ Collection Find (List Limit 20) β”‚ Cold:     7.27 ms β”‚ Warm:     0.466 ms β”‚ p95:     0.747 ms β”‚   7,239 RPS β•‘
β•‘ Collection Search Query      β”‚ Cold:     2.88 ms β”‚ Warm:     0.402 ms β”‚ p95:     0.561 ms β”‚   9,632 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ GraphQL API Performance Β· βšͺ 0.797ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective. Throughput dropped 67% β€” check connection pool saturation or lock contention.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                                  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 β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Enterprise SEO Suite Audit Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” ENTERPRISE SEO AUDIT β•‘ β•‘ File: tests/benchmarks/seo-performance.test.ts β•‘ β•‘ Ran: 2026-08-29 21:42:36 β•‘ β•‘Measures redirect lookup latency, dynamic sitemap.xml generation, robots.txt serving, and 404 logging performance.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Redirect Lookup (301) β”‚ Cold: 1.28 ms β”‚ Warm: 1.127 ms β”‚ p95: 1.848 ms β”‚ 7,004 RPS β•‘ β•‘ Dynamic Sitemap XML β”‚ Cold: 19.77 ms β”‚ Warm: 0.706 ms β”‚ p95: 1.144 ms β”‚ 11,214 RPS β•‘ β•‘ Robots.txt Generation β”‚ Cold: 1.96 ms β”‚ Warm: 1.797 ms β”‚ p95: 3.115 ms β”‚ 4,419 RPS β•‘ β•‘ Missing Path (404 Log) β”‚ Cold: 54.20 ms β”‚ Warm: 18.245 ms β”‚ p95: 25.709 ms β”‚ 435 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ REAL-TIME BROADCAST AUDIT Β· βšͺ 0.213ms Β· ➑️ β€” Β· source > ⏳ **REAL-TIME BROADCAST AUDIT**: Pending execution. > 🎯 Benchmarks network-layer broadcast latency (SSE vs WebSocket).
🏷️ WebSocket & Realtime Latency Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source > ⏳ **WebSocket & Realtime Latency**: Pending execution. > 🎯 Benchmarks WebSocket connection/broadcast latency.
🏷️ GraphQL Response Cache Hit Β· βšͺ 0.985ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective.

⏳ GraphQL Response Cache Hit: Pending execution. 🎯 L1 response cache: cold-query vs cache-hit latency verification.

Scale Β· 18 tests
🏷️ Negative Cache Performance Β· βšͺ 0.001ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                             SVELTYCMS β€” NEGATIVE CACHE PERFORMANCE AUDIT                              β•‘
β•‘                             File: tests/benchmarks/negative-cache.test.ts                             β•‘
β•‘                                       Ran: 2026-10-06 10:55:54                                        β•‘
β•‘Measures Bloom-filter style missing-key cache speedup for repeated misses against direct database miss baselines.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Direct DB Miss Baseline      β”‚ Cold:     7.53 ms β”‚ Warm:     1.352 ms β”‚ p95:     1.798 ms β”‚     712 RPS β•‘
β•‘ Cold Miss (Bypass Cache)     β”‚ Cold:     8.38 ms β”‚ Warm:     1.274 ms β”‚ p95:     1.592 ms β”‚     777 RPS β•‘
β•‘ Hot Miss (Negative Cache)    β”‚ Cold:     0.53 ms β”‚ Warm:     0.001 ms β”‚ p95:     0.003 ms β”‚ 624,790 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Revision & History Growth Β· βšͺ 0.478ms Β· β†˜οΈ β€” Β· 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 10:57:35                                        β•‘
β•‘Measures latest read degradation, history retrieval speed, and storage footprint under heavy revision growth (100 revisions).β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Clean Document Read (Baseline) β”‚ Cold:     4.62 ms β”‚ Warm:     0.531 ms β”‚ p95:     0.754 ms β”‚   7,298 RPS β•‘
β•‘ Latest Read (100 Revisions)  β”‚ Cold:     3.18 ms β”‚ Warm:     0.478 ms β”‚ p95:     0.710 ms β”‚   7,938 RPS β•‘
β•‘ History List Retrieval       β”‚ Cold:     6.52 ms β”‚ Warm:     1.646 ms β”‚ p95:     2.652 ms β”‚   1,094 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.999ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” MULTI-TENANCY PERFORMANCE AUDIT β•‘ β•‘ File: tests/benchmarks/multi-tenant-performance.test.ts β•‘ β•‘ Ran: 2026-10-06 10:56:00 β•‘ β•‘Measures the overhead of tenant isolation, context switching, and data partitioning across many tenants.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Single Tenant Baseline β”‚ Cold: 4.53 ms β”‚ Warm: 1.089 ms β”‚ p95: 2.189 ms β”‚ 6,415 RPS β•‘ β•‘ Multi-Tenant Context Switching β”‚ Cold: 0.99 ms β”‚ Warm: 0.999 ms β”‚ p95: 1.313 ms β”‚ 7,761 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Realistic Mixed Workload Β· βšͺ 1.001ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” MIXED WORKLOAD AUDIT β•‘ β•‘ File: tests/benchmarks/mixed-workload.test.ts β•‘ β•‘ Ran: 2026-10-06 10:56:18 β•‘ β•‘Simulates real-world traffic with a weighted mix of reads, searches, GraphQL queries, and metadata requests with per-operation telemetry.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Mixed Workload β”‚ Cold: 5.71 ms β”‚ Warm: 1.001 ms β”‚ p95: 3.026 ms β”‚ 6,071 RPS β•‘ β•‘ Mix: REST Read β”‚ 1.225 ms β”‚ p95: 2.790 ms β”‚ RPS: 1,558 β•‘ β•‘ Mix: REST Search β”‚ 1.303 ms β”‚ p95: 3.042 ms β”‚ RPS: 506 β•‘ β•‘ Mix: GraphQL β”‚ 3.682 ms β”‚ p95: 7.777 ms β”‚ RPS: 399 β•‘ β•‘ Mix: Metadata β”‚ 1.232 ms β”‚ p95: 2.449 ms β”‚ RPS: 118 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ GraphQL Load Stress Β· βšͺ 12.039ms Β· ↗️ β€” Β· 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** (+147%) β€” review recent commits immediately.

⏳ GraphQL Load Stress: Pending execution. 🎯 High-concurrency GraphQL query stress test for resolver efficiency.

🏷️ Bulk Migration & Scale Β· βšͺ 0.839ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective. Throughput dropped 42% β€” check connection pool saturation or lock contention.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                                  SVELTYCMS β€” MIGRATION & SCALE AUDIT                                  β•‘
β•‘                            File: tests/benchmarks/migration-scale.test.ts                             β•‘
β•‘                                       Ran: 2026-10-06 11:00:11                                        β•‘
β•‘Measures bulk ingestion throughput for 10,000 entries, random point-lookups, and indexed range scans across large datasets.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Bulk Migration (10k docs)    β”‚ Cold:    53.48 ms β”‚ Warm:    23.208 ms β”‚ p95:    34.062 ms β”‚  19,770 RPS β•‘
β•‘ Random Point Lookup          β”‚ Cold:     6.92 ms β”‚ Warm:     1.776 ms β”‚ p95:     2.682 ms β”‚   3,243 RPS β•‘
β•‘ Range Scan & Pagination      β”‚ Cold:     8.59 ms β”‚ Warm:     0.839 ms β”‚ p95:     1.505 ms β”‚   6,682 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Million-Row Index Pressure Β· βšͺ 0.705ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” INDEX PRESSURE AUDIT β•‘ β•‘ File: tests/benchmarks/index-pressure.test.ts β•‘ β•‘ Ran: 2026-10-06 10:57:24 β•‘ β•‘ Measures read performance with sorting and filtering on a large entry collection. β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Sorted List (25k rows) β”‚ Cold: 5.26 ms β”‚ Warm: 0.705 ms β”‚ p95: 1.224 ms β”‚ 5,628 RPS β•‘ β•‘ Filtered Query (25k rows) β”‚ Cold: 5.17 ms β”‚ Warm: 0.609 ms β”‚ p95: 0.794 ms β”‚ 6,505 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Content Scale Stress Β· βšͺ 0.151ms Β· ➑️ β€” Β· source > ⏳ **Content Scale Stress**: Pending execution. > 🎯 Measures content scan performance on 1,000+ collections under .compiledCollections/test/stress (isolated).
🏷️ Media Upload Stress & Throughput Β· βšͺ 7.713ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” MEDIA UPLOAD STRESS AUDIT β•‘ β•‘ File: tests/benchmarks/media-upload-stress.test.ts β•‘ β•‘ Ran: 2026-10-06 10:59:58 β•‘ β•‘Measures throughput for large file uploads, concurrent transfers, and streaming efficiency with valid media fixtures.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Single Upload (0.01MB) β”‚ Cold: 10.47 ms β”‚ Warm: 6.378 ms β”‚ p95: 7.139 ms β”‚ 156 RPS β•‘ β•‘ Small Upload (0MB @ 4c) β”‚ Cold: 7.79 ms β”‚ Warm: 7.713 ms β”‚ p95: 11.912 ms β”‚ 493 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Full Client Journey Simulation Β· βšͺ 5.366ms Β· ➑️ β€” Β· source > ⏳ **Full Client Journey Simulation**: Pending execution. > 🎯 E2E journey: Login -> List -> View -> Edit -> Save -> Realtime. Measures cumulative latency.
🏷️ Concurrency & Race Condition Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” CONCURRENCY AUDIT β•‘ β•‘ File: tests/benchmarks/concurrency-race.test.ts β•‘ β•‘ Ran: 2026-10-06 11:00:16 β•‘ β•‘ Simulates high-concurrency writes to a single document to prove atomic consistency. β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Concurrent PATCH Bomb β”‚ 13.484 ms β”‚ p95: 21.636 ms β”‚ RPS: 1,747 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Multi-Doc Concurrency Throughput Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” DIRECT ADAPTER THROUGHPUT (POSTGRESQL) β•‘ β•‘ File: tests/benchmarks/local-api-throughput.test.ts β•‘ β•‘ Ran: 2026-10-06 10:57:37 β•‘ β•‘Measures direct adapter write throughput, read throughput, and percentile latencies with zero HTTP overhead.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Writes (1000 atomic increments) β”‚ 1.841 ms β”‚ p95: 3.124 ms β”‚ RPS: 4,232 β•‘ β•‘ Reads (1000 point lookups) β”‚ 1.440 ms β”‚ p95: 3.382 ms β”‚ RPS: 8,792 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Max Throughput β€” No Throttle Β· βšͺ 26.398ms Β· ➑️ β€” Β· source > ⏳ **Max Throughput β€” No Throttle**: Pending execution. > 🎯 1000 concurrent writes across 100 docs β€” no semaphore.
🏷️ Failure Propagation & Fast-Fail Audit Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source > ⏳ **Failure Propagation & Fast-Fail Audit**: Pending execution. > 🎯 Measures system overhead when downstream dependencies (DB/Redis) fail or timeout.
🏷️ Chaos & Infrastructure Resilience Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source > ⏳ **Chaos & Infrastructure Resilience**: Pending execution. > 🎯 Simulates 500ms database brownouts and measures CMS availability and stability.
🏷️ Production Day Simulation Β· βšͺ 1.912ms Β· ➑️ β€” Β· 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 > ⏳ **Throttling & Backoff Stress**: Pending execution. > 🎯 Measures rate-limiting consistency under 10x design load.
🏷️ GDPR Compliance Speed Β· βšͺ 13.241ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” GDPR COMPLIANCE AUDIT β•‘ β•‘ File: tests/benchmarks/right-to-be-forgotten-audit.test.ts β•‘ β•‘ Ran: 2026-10-06 10:57:29 β•‘ β•‘Measures the latency, cascading relational integrity, and throughput of deep user erasure across all linked repositories.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Deep Deletion Speed β”‚ Cold: 26.37 ms β”‚ Warm: 13.241 ms β”‚ p95: 14.720 ms β”‚ 75 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 > ⏳ **Database Failover & Reconnection**: Pending execution. > 🎯 Simulates DB disconnect mid-request β€” measures circuit breaker activation and reconnection timing.

πŸ”¬ Host environment

Host Platform Arch Cores RAM Runtime
RKroells win32 x64 24 63GB Bun 1.4.2
benchmarkperformancepostgresql
Was this page helpful?