Skip to content

Documentation

MongoDB + Redis Performance Audit

Database performance benchmarks with trend analysis and competitive context.

7/4/2026
32 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, 14:48:32)

βœ… PASS Β· 19/39 tests Β· 20 skipped Β· MONGODB+REDIS Β· Bun 1.4.2

Dimension health

Dimension Tests Status Worst Ξ” Issues
Core 10 🟒 +511% 0
API 9 🟒 +92% 0
Scale 15 🟒 +113% 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 "MONGODB+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.06, 0.95] COMPETITIVE 9-WORKLOAD REPLI: [0.05, 0.16] MIDDLEWARE FLAMEGRAPH PROFIL: [0.05, 0.13] Incremental Content Reload: [0.05, 0.29] State Machine Transitions: [0.95, 0.05] Database Adapter Raw CRUD: [0.05, 0.18] REST API Performance: [0.07, 0.18] GraphQL API Performance: [0.05, 0.07]

πŸ“‹ Partial report β€” run full matrix for complete cross-DB analysis.

πŸ“‹ Partial report β€” run full matrix for complete cross-DB analysis.

πŸ”΄ Top Regressions

πŸ”΄ sharp-vs-bun-image [Bun.Image Metadata (header-only)] (mongodb-redis): +127% | 0.01ms vs 0.00ms baseline πŸ”΄ seo-performance [Robots.txt Generation] (mongodb-redis): +32% | 1.61ms vs 1.22ms baseline 🟠 truth-latency [Local SDK (Full)] (mongodb-redis): +20% | 0.01ms vs 0.01ms baseline 🟠 media-performance [Media: Duplicate Upload (identical bytes)] (mongodb-redis): +15% | 7.78ms vs 6.76ms baseline 🟠 api-latency [HTTP: findById TURBO-HIT idle (Warm)] (mongodb-redis): +15% | 0.21ms vs 0.19ms baseline

🟒 Top Improvements

local-cms-crud [LocalCMS findById (Warm)] (mongodb-redis): -50% | 0.00ms vs 0.00ms baseline admin-ux-vitality [Schema Resolution (8f)] (mongodb-redis): -46% | 0.24ms vs 0.46ms baseline scale-spectrum [create @ 100000] (mongodb-redis): -45% | 2.05ms vs 3.75ms baseline index-pressure [Sorted List (25k rows)] (mongodb-redis): -45% | 0.39ms vs 0.70ms baseline scale-spectrum [listFilterSort @ 50000] (mongodb-redis): -43% | 0.63ms vs 1.10ms baseline

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='mongodb' AND redis=1 ORDER BY timestamp DESC

Series: 56 Β· DB: mongodb-redis

Metric Trend Sparkline (last 7) Latest
ADMIN UX VITALITY (warm) 🟒 β–ˆβ–‚β–‡β– 0.244ms
AI PERFORMANCE (warm) 🟒 ▁▁▁▁ 0.000ms
API LATENCY (warm) 🟒 β–β–†β–ˆβ–‚β–β–β–† 1.816ms
AUTH PERFORMANCE (warm) 🟒 β–„β–„β–β–„β–ˆβ–„β–„ 0.797ms
AUTH SESSION AMR (warm) 🟒 β–ˆβ–…β–†β–‚β–ƒβ–β–ƒ 0.696ms
BUILD ANALYSIS (warm) 🟒 ▁▁ 0.000ms
CACHE HIT RATIO (warm) 🟒 β–‚β–β–ˆβ–…β–β–β–‡ 1.405ms
CACHE PERFORMANCE (warm) 🟒 β–‚β–ˆβ–β–‡ 0.857ms
CACHE SERVICE (warm) 🟒 β–β–„β–ˆβ–β–„β–† 0.717ms
CLIENT JOURNEY (warm) 🟒 β–ˆβ– 3.470ms
COMPETITIVE WORKLOAD REPLICA (warm) 🟒 β–β–β–β–ƒβ–‚β–ˆβ–ƒ 1.271ms
CONCURRENCY MAX (warm) 🟒 β–ˆβ– 69.379ms
CONTENT GUI SAVE (warm) 🟒 β–ˆβ– 1.366ms
CONTENT SCALE STRESS (warm) 🟒 β–ˆβ–β–‡β– 0.146ms
CONTENT SCAN (warm) 🟒 β–ˆβ–‚β–‡β– 0.671ms
DATABASE PERFORMANCE (warm) 🟒 β–β–ƒβ–ˆβ–ˆβ–β–β–‚ 1.302ms
EDGE SYNC (warm) 🟒 β–ˆβ– 2.680ms
ENTRY EDIT HYDRATION (warm) 🟒 β–β–β–†β–ˆβ–β–β–† 0.017ms
GRAPHQL API PERFORMANCE (warm) 🟒 β–β–…β–„β–ˆβ–†β–β– 0.740ms
GRAPHQL CACHE HIT (warm) 🟒 β–‚β–…β–β–ˆβ–β–„β– 1.082ms
GRAPHQL LOCAL SDK (warm) 🟒 β–ˆβ–β–ˆβ– 0.000ms
GRAPHQL STRESS (warm) 🟒 β–ˆβ–β–‚β–ƒβ–β–…β–‡ 9.302ms
HOOKS PERFORMANCE (warm) 🟒 β–„β–„β–β–ˆβ–β–…β–ƒ 0.619ms
INDEX PRESSURE (warm) 🟒 β–„β–ˆβ–β–‚ 0.387ms
LARGE PAYLOAD STREAMING (warm) 🟒 β–‚β–†β–ˆβ–β–‚β–†β–ˆ 14.188ms
LOCAL API PERFORMANCE (warm) 🟒 β–ˆβ–†β–β–‡β–ˆβ–ˆ 0.633ms
LOCAL API THROUGHPUT (warm) 🟒 β–ˆβ–‚β–†β– 2.395ms
LOCAL CMS CRUD (warm) 🟒 β–ƒβ–ƒβ–ƒβ–ƒβ–β–ˆβ–„ 0.819ms
LOCAL SDK VS DIRECT (warm) 🟒 β–β–†β–β–…β–‚β–‡β–ˆ 0.771ms
MEDIA PERFORMANCE (warm) 🟒 β–β–†β–β–„β–‚β–‚β–ˆ 99.812ms
MEDIA UPLOAD STRESS (warm) 🟒 β–β–ˆβ–β–‚ 7.117ms
MEMORY COUNTERS (warm) 🟒 ▁▁ 0.000ms
MIDDLEWARE FLAMEGRAPH (warm) 🟒 β–„β–…β–ƒβ–ˆβ–β–β–ˆ 1.311ms
MIGRATION SCALE (warm) 🟒 β–ˆβ–‚β–β–‡β–β– 0.512ms
MIXED WORKLOAD (warm) 🟒 β–ˆβ– 0.752ms
MULTI TENANT PERFORMANCE (warm) 🟒 β–ˆβ– 0.545ms
OPENAPI PERFORMANCE (warm) 🟒 β–†β–β–ˆβ–†β–β–‡ 1.278ms
PRODUCTION DAY (warm) 🟒 β–ˆβ– 1.528ms
REALTIME PERFORMANCE (warm) 🟒 ▁▁▁▁▁▁ 0.000ms
REST API PERFORMANCE (warm) 🟒 β–ƒβ–‡β–‚β–β–ƒβ–β–ˆ 1.989ms
REVISION STRESS (warm) 🟒 β–‚β–ˆβ–‚β–β–‡β– 0.291ms
RIGHT TO BE FORGOTTEN AUDIT (warm) 🟒 β–ˆβ– 6.501ms
SCALE SPECTRUM (warm) 🟒 β–ˆβ–…β–‚β–…β–ƒβ–β– 0.629ms
SECURITY AUDIT (warm) 🟒 β–ˆβ–β–β–β–β–β– 0.001ms
SEO PERFORMANCE (warm) 🟒 β–ˆβ–β–β–β–‡β–β– 1.614ms
SHARP VS BUN IMAGE (warm) 🟒 β–…β–…β–β–β–‚β–ˆβ–ˆ 49.504ms
STATE MACHINE TRANSITION (warm) 🟒 β–…β–ˆβ–…β– 28.154ms
TELEMETRY PERFORMANCE (warm) 🟒 β–ˆβ–β–ˆβ– 0.000ms
TEMPORAL INTEGRITY (warm) 🟒 β–ˆβ– 2.951ms
TRANSACTION ACID (warm) 🟒 β–β–ˆβ–β–ˆ 0.648ms
TRUTH LATENCY (warm) 🟒 β–ƒβ–β–β–ˆβ–ƒβ–β– 0.000ms
WEBSOCKET BROADCAST (warm) 🟒 β–ˆβ– 0.138ms
WIDGET PERFORMANCE (warm) 🟒 β–ˆβ–β–†β–ˆβ–β–† 0.544ms
CONFIG PROMOTION (warm) βšͺ β–ƒβ–…β–†β–…β–ˆβ–β– 6.115ms
CONTENT INCREMENTAL RELOAD (warm) βšͺ β–ƒβ–β–ˆβ–ƒβ–‚β–β–† 0.550ms
NEGATIVE CACHE (warm) βšͺ β–‡β–‡β–β–‡β–ˆβ– 0.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 (35 modules)

Expand dimension groups, then any row, for ASCII truth tables. Executive summary above shows pass/fail and issues only.

Core Β· 10 tests
🏷️ API LAYER LATENCY Β· βšͺ 1.816ms Β· ↗️ β€” Β· 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 80% β€” check connection pool saturation or lock contention. **Severe degradation** (+511%) β€” 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 12:40:05                                        β•‘
β•‘            Validates performance claims by comparing SDK, Middleware, and Real HTTP Stack             β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Logic Baseline               β”‚ Cold:     0.01 ms β”‚ Warm:     0.000 ms β”‚ p95:     0.000 ms β”‚ 582,751 RPS β•‘
β•‘ Local SDK (Full)             β”‚ Cold:    14.49 ms β”‚ Warm:     0.006 ms β”‚ p95:     0.012 ms β”‚ 135,974 RPS β•‘
β•‘ HTTP End-to-End              β”‚ Cold:     4.34 ms β”‚ Warm:     0.252 ms β”‚ p95:     0.322 ms β”‚   3,940 RPS β•‘
β•‘ HTTP Cold (Cache-Busted)     β”‚ Cold:     2.26 ms β”‚ Warm:     1.102 ms β”‚ p95:     1.428 ms β”‚     906 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Incremental Content Reload Β· βšͺ 0.550ms Β· ↗️ β€” Β· 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 72% β€” check connection pool saturation or lock contention. **Severe degradation** (+150%) β€” 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 12:44:32                                        β•‘
β•‘      Measures surgical single-file fullReload vs full reconciliation path and batch processing.       β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Incremental fullReload (1 file) β”‚ Cold:     4.74 ms β”‚ Warm:     0.066 ms β”‚ p95:     0.124 ms β”‚  13,661 RPS β•‘
β•‘ Full Reconciliation Reload   β”‚ Cold:     2.41 ms β”‚ Warm:     0.171 ms β”‚ p95:     0.250 ms β”‚   5,627 RPS β•‘
β•‘ Sequential 10-File Reload    β”‚ Cold:     4.12 ms β”‚ Warm:     0.550 ms β”‚ p95:     0.791 ms β”‚   1,700 RPS β•‘
β•‘ Batched 10-File Reload       β”‚ Cold:     0.88 ms β”‚ Warm:     0.248 ms β”‚ p95:     0.444 ms β”‚   3,485 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ State Machine Transitions Β· βšͺ 28.154ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                                  SVELTYCMS β€” STATE MACHINE INTEGRITY                                  β•‘
β•‘                        File: tests/benchmarks/state-machine-transition.test.ts                        β•‘
β•‘                                       Ran: 2026-10-06 12:44:44                                        β•‘
β•‘Measures state machine self-healing transition latencies, convergence settling time, and health probe consistency under stress.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ State Transition (Transient) β”‚ Cold:    38.72 ms β”‚ Warm:    28.154 ms β”‚ p95:    35.104 ms β”‚      36 RPS β•‘
β•‘ Self-Healing Full Convergence β”‚ Cold:    31.24 ms β”‚ Warm:    31.280 ms β”‚ p95:    35.127 ms β”‚      33 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Database Adapter Raw CRUD Β· βšͺ 1.302ms Β· ↗️ β€” Β· source > [!NOTE] > **Specific to this test**: Avg degraded but p95 stable β€” possible cold-start effect, GC pause, or warmup variance. Throughput dropped 99% β€” check connection pool saturation or lock contention. **Severe degradation** (+91%) β€” review recent commits immediately.

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

🏷️ ACID Transaction Overhead Β· βšͺ 0.648ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” ACID INTEGRITY AUDIT β•‘ β•‘ File: tests/benchmarks/transaction-acid.test.ts β•‘ β•‘ Ran: 2026-10-06 12:44:16 β•‘ β•‘ Measures transaction commit latencies and rollback overhead across database adapters β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ TX Commit β”‚ Cold: 0.05 ms β”‚ Warm: 0.000 ms β”‚ p95: 0.002 ms β”‚ 848,536 RPS β•‘ β•‘ TX Rollback Integrity β”‚ Cold: 1.73 ms β”‚ Warm: 0.648 ms β”‚ p95: 0.796 ms β”‚ 1,538 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ COMPETITIVE 9-WORKLOAD REPLICA Β· βšͺ 1.271ms Β· ↗️ β€” Β· source > [!NOTE] > **Specific to this test**: Avg degraded but p95 stable β€” possible cold-start effect, GC pause, or warmup variance. Throughput dropped 87% β€” check connection pool saturation or lock contention. **Severe degradation** (+82%) β€” review recent commits immediately.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                    COMPETITIVE HARNESS REPLICA (MONGODB β€” 500 Docs, COLD vs WARM)                     β•‘
β•‘                      File: tests/benchmarks/competitive-workload-replica.test.ts                      β•‘
β•‘                                       Ran: 2026-10-06 12:46:50                                        β•‘
β•‘              Seq + concurrent (8 workers), harness iteration counts, median of N rounds.              β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ findById (Cold Sequential)   β”‚ Cold:     3.83 ms β”‚ Warm:     0.404 ms β”‚ p95:     0.562 ms β”‚   2,425 RPS β•‘
β•‘ findById (Cold Concurrent 8c) β”‚ Cold:     1.49 ms β”‚ Warm:     1.732 ms β”‚ p95:     2.081 ms β”‚   4,470 RPS β•‘
β•‘ findByIdRandom (Cold Sequential) β”‚ Cold:     2.27 ms β”‚ Warm:     1.176 ms β”‚ p95:     1.556 ms β”‚     848 RPS β•‘
β•‘ findByIdRandom (Cold Concurrent 8c) β”‚ Cold:     2.27 ms β”‚ Warm:     3.616 ms β”‚ p95:     4.069 ms β”‚   2,146 RPS β•‘
β•‘ listFilterSort (Cold Sequential) β”‚ Cold:     4.46 ms β”‚ Warm:     0.411 ms β”‚ p95:     0.477 ms β”‚   2,418 RPS β•‘
β•‘ listFilterSort (Cold Concurrent 8c) β”‚ Cold:     0.46 ms β”‚ Warm:     1.604 ms β”‚ p95:     2.815 ms β”‚   4,847 RPS β•‘
β•‘ listLarge (Cold Sequential)  β”‚ Cold:     6.25 ms β”‚ Warm:     0.441 ms β”‚ p95:     0.513 ms β”‚   2,257 RPS β•‘
β•‘ listLarge (Cold Concurrent 8c) β”‚ Cold:     0.40 ms β”‚ Warm:     0.966 ms β”‚ p95:     1.255 ms β”‚   7,960 RPS β•‘
β•‘ listPlain (Cold Sequential)  β”‚ Cold:     3.43 ms β”‚ Warm:     0.273 ms β”‚ p95:     0.317 ms β”‚   3,648 RPS β•‘
β•‘ listPlain (Cold Concurrent 8c) β”‚ Cold:     0.31 ms β”‚ Warm:     0.857 ms β”‚ p95:     1.228 ms β”‚   8,976 RPS β•‘
β•‘ findMissing (Cold Sequential) β”‚ Cold:     2.32 ms β”‚ Warm:     0.216 ms β”‚ p95:     0.253 ms β”‚   4,613 RPS β•‘
β•‘ findMissing (Cold Concurrent 8c) β”‚ Cold:     0.19 ms β”‚ Warm:     0.620 ms β”‚ p95:     0.804 ms β”‚  12,445 RPS β•‘
β•‘ create (Cold Sequential)     β”‚ Cold:     4.25 ms β”‚ Warm:     1.629 ms β”‚ p95:     2.844 ms β”‚     613 RPS β•‘
β•‘ create (Cold Concurrent 8c)  β”‚ Cold:     4.16 ms β”‚ Warm:     6.295 ms β”‚ p95:     7.202 ms β”‚   1,233 RPS β•‘
β•‘ update (Cold Sequential)     β”‚ Cold:     3.50 ms β”‚ Warm:     1.744 ms β”‚ p95:     2.742 ms β”‚     573 RPS β•‘
β•‘ update (Cold Concurrent 8c)  β”‚ Cold:     4.41 ms β”‚ Warm:     6.071 ms β”‚ p95:     6.707 ms β”‚   1,283 RPS β•‘
β•‘ graphql (Cold Sequential)    β”‚ Cold:     4.51 ms β”‚ Warm:     1.219 ms β”‚ p95:     4.016 ms β”‚     819 RPS β•‘
β•‘ graphql (Cold Concurrent 8c) β”‚ Cold:     2.13 ms β”‚ Warm:     1.977 ms β”‚ p95:     3.806 ms β”‚   3,933 RPS β•‘
β•‘ mixed (Cold Sequential)      β”‚ Cold:     1.56 ms β”‚ Warm:     0.905 ms β”‚ p95:     1.519 ms β”‚   1,103 RPS β•‘
β•‘ mixed (Cold Concurrent 8c)   β”‚ Cold:     0.36 ms β”‚ Warm:     3.331 ms β”‚ p95:     5.831 ms β”‚   2,356 RPS β•‘
β•‘ findById (Warm Sequential)   β”‚ Cold:     0.66 ms β”‚ Warm:     0.208 ms β”‚ p95:     0.277 ms β”‚   4,778 RPS β•‘
β•‘ findById (Warm Concurrent 8c) β”‚ Cold:     0.13 ms β”‚ Warm:     0.576 ms β”‚ p95:     0.703 ms β”‚  13,757 RPS β•‘
β•‘ findByIdRandom (Warm Sequential) β”‚ Cold:     0.66 ms β”‚ Warm:     0.237 ms β”‚ p95:     0.319 ms β”‚   4,206 RPS β•‘
β•‘ findByIdRandom (Warm Concurrent 8c) β”‚ Cold:     0.28 ms β”‚ Warm:     0.617 ms β”‚ p95:     0.812 ms β”‚  12,875 RPS β•‘
β•‘ listFilterSort (Warm Sequential) β”‚ Cold:     0.74 ms β”‚ Warm:     0.217 ms β”‚ p95:     0.302 ms β”‚   4,572 RPS β•‘
β•‘ listFilterSort (Warm Concurrent 8c) β”‚ Cold:     0.26 ms β”‚ Warm:     0.709 ms β”‚ p95:     0.935 ms β”‚  11,079 RPS β•‘
β•‘ listLarge (Warm Sequential)  β”‚ Cold:     0.76 ms β”‚ Warm:     0.309 ms β”‚ p95:     0.433 ms β”‚   3,222 RPS β•‘
β•‘ listLarge (Warm Concurrent 8c) β”‚ Cold:     0.37 ms β”‚ Warm:     0.840 ms β”‚ p95:     1.345 ms β”‚   9,367 RPS β•‘
β•‘ listPlain (Warm Sequential)  β”‚ Cold:     0.77 ms β”‚ Warm:     0.169 ms β”‚ p95:     0.238 ms β”‚   5,895 RPS β•‘
β•‘ listPlain (Warm Concurrent 8c) β”‚ Cold:     0.24 ms β”‚ Warm:     0.502 ms β”‚ p95:     0.659 ms β”‚  15,624 RPS β•‘
β•‘ findMissing (Warm Sequential) β”‚ Cold:     2.28 ms β”‚ Warm:     0.128 ms β”‚ p95:     0.188 ms β”‚   7,746 RPS β•‘
β•‘ findMissing (Warm Concurrent 8c) β”‚ Cold:     0.15 ms β”‚ Warm:     0.403 ms β”‚ p95:     0.563 ms β”‚  19,245 RPS β•‘
β•‘ create (Warm Sequential)     β”‚ Cold:     2.82 ms β”‚ Warm:     1.077 ms β”‚ p95:     1.223 ms β”‚     927 RPS β•‘
β•‘ create (Warm Concurrent 8c)  β”‚ Cold:     2.47 ms β”‚ Warm:     4.610 ms β”‚ p95:     7.314 ms β”‚   1,720 RPS β•‘
β•‘ update (Warm Sequential)     β”‚ Cold:     3.39 ms β”‚ Warm:     1.271 ms β”‚ p95:     1.472 ms β”‚     786 RPS β•‘
β•‘ update (Warm Concurrent 8c)  β”‚ Cold:     2.94 ms β”‚ Warm:     5.011 ms β”‚ p95:     7.819 ms β”‚   1,579 RPS β•‘
β•‘ graphql (Warm Sequential)    β”‚ Cold:     1.66 ms β”‚ Warm:     0.849 ms β”‚ p95:     0.983 ms β”‚   1,177 RPS β•‘
β•‘ graphql (Warm Concurrent 8c) β”‚ Cold:     0.99 ms β”‚ Warm:     1.487 ms β”‚ p95:     1.878 ms β”‚   5,285 RPS β•‘
β•‘ mixed (Warm Sequential)      β”‚ Cold:     2.66 ms β”‚ Warm:     0.700 ms β”‚ p95:     1.562 ms β”‚   1,427 RPS β•‘
β•‘ mixed (Warm Concurrent 8c)   β”‚ Cold:     1.06 ms β”‚ Warm:     1.796 ms β”‚ p95:     3.150 ms β”‚   4,330 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ MIDDLEWARE FLAMEGRAPH PROFILER Β· βšͺ 1.311ms Β· ↗️ β€” Β· 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 53% β€” check connection pool saturation or lock contention. **Severe degradation** (+68%) β€” review recent commits immediately.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                               MIDDLEWARE FLAMEGRAPH PROFILER (MONGODB)                                β•‘
β•‘                         File: tests/benchmarks/middleware-flamegraph.test.ts                          β•‘
β•‘                                       Ran: 2026-10-06 12:47:33                                        β•‘
β•‘Measures isolated microsecond cost and incremental deltas of each middleware stage from edge to database.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Stage 0: Raw Socket Baseline (Static Asset) β”‚ Cold:     2.60 ms β”‚ Warm:     0.779 ms β”‚ p95:     1.193 ms β”‚   4,933 RPS β•‘
β•‘ Stage 1: System State + Turbo Pipeline β”‚ Cold:     1.07 ms β”‚ Warm:     0.859 ms β”‚ p95:     1.442 ms β”‚   4,387 RPS β•‘
β•‘ Stage 2: WAF Security Inspection β”‚ Cold:     1.02 ms β”‚ Warm:     0.572 ms β”‚ p95:     0.826 ms β”‚   6,568 RPS β•‘
β•‘ Stage 3: Token Auth Gating   β”‚ Cold:     6.43 ms β”‚ Warm:     1.363 ms β”‚ p95:     2.030 ms β”‚   2,835 RPS β•‘
β•‘ Stage 4: Collection Schema Resolution β”‚ Cold:     2.23 ms β”‚ Warm:     0.341 ms β”‚ p95:     0.429 ms β”‚  10,993 RPS β•‘
β•‘ Stage 5: Full REST Single Document β”‚ Cold:     4.68 ms β”‚ Warm:     0.291 ms β”‚ p95:     0.368 ms β”‚  12,861 RPS β•‘
β•‘ Stage 6: GraphQL Single Query (JIT) β”‚ Cold:     4.82 ms β”‚ Warm:     1.311 ms β”‚ p95:     1.539 ms β”‚   3,037 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.951ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” TEMPORAL INTEGRITY AUDIT β•‘ β•‘ File: tests/benchmarks/temporal-integrity.test.ts β•‘ β•‘ Ran: 2026-10-06 12:42:05 β•‘ β•‘Validates strict backend UTC normalization (ISO 8601 with trailing 'Z') across global timezone offsets, fractional timezones, and midnight transitions.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Temporal Ingestion & Normalization β”‚ Cold: 2.38 ms β”‚ Warm: 2.951 ms β”‚ p95: 5.546 ms β”‚ 1,225 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Relational & Nested Queries Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source > ⏳ **Relational & Nested Queries**: Pending execution. > 🎯 Stress-tests JOINs, population strategies, and deeply nested relationships (depth 2–3).
🏷️ Auth & RBAC Performance Β· βšͺ 0.797ms Β· ➑️ β€” Β· source > ⏳ **Auth & RBAC Performance**: Pending execution. > 🎯 Measures JWT verification, session retrieval, and permission matrix resolution overhead.
🏷️ REST API Performance Β· βšͺ 1.989ms Β· ↗️ β€” Β· 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 48% β€” check connection pool saturation or lock contention. **Severe degradation** (+92%) β€” review recent commits immediately.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                                 SVELTYCMS β€” ENTERPRISE REST API AUDIT                                 β•‘
β•‘                          File: tests/benchmarks/rest-api-performance.test.ts                          β•‘
β•‘                                       Ran: 2026-10-06 12:40:17                                        β•‘
β•‘Measures latency, throughput, and correctness of core REST endpoints: health check, schema, single read, list, and search.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ System Health Check          β”‚ Cold:     1.14 ms β”‚ Warm:     1.989 ms β”‚ p95:     2.921 ms β”‚   5,807 RPS β•‘
β•‘ Collection Schema Metadata   β”‚ Cold:     3.09 ms β”‚ Warm:     0.749 ms β”‚ p95:     0.918 ms β”‚  15,400 RPS β•‘
β•‘ Single Document Read         β”‚ Cold:     0.64 ms β”‚ Warm:     0.742 ms β”‚ p95:     0.875 ms β”‚  15,449 RPS β•‘
β•‘ Collection Find (List Limit 20) β”‚ Cold:     5.33 ms β”‚ Warm:     0.969 ms β”‚ p95:     1.195 ms β”‚  12,027 RPS β•‘
β•‘ Collection Search Query      β”‚ Cold:     3.09 ms β”‚ Warm:     1.038 ms β”‚ p95:     1.639 ms β”‚  10,930 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ GraphQL API Performance Β· βšͺ 0.740ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective. Throughput dropped 60% β€” check connection pool saturation or lock contention.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                                  SVELTYCMS β€” GRAPHQL CACHE HIT AUDIT                                  β•‘
β•‘                           File: tests/benchmarks/graphql-cache-hit.test.ts                            β•‘
β•‘                                       Ran: 2026-10-06 12:47:03                                        β•‘
β•‘        Validates sub-millisecond L1 response cache hits, cache key isolation, and hit headers.        β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Q1: Health (Cold Miss)         β”‚        4.149 ms β”‚ p95:        4.149 ms β”‚ RPS:        241 β•‘
β•‘ Q1: Health (L1 Hit)            β”‚        1.101 ms β”‚ p95:        1.966 ms β”‚ RPS:        908 β•‘
β•‘ Q2: Collections (Cold Miss)    β”‚        2.190 ms β”‚ p95:        2.190 ms β”‚ RPS:        457 β•‘
β•‘ Q2: Collections (L1 Hit)       β”‚        1.082 ms β”‚ p95:        1.257 ms β”‚ RPS:        924 β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Enterprise SEO Suite Audit Β· βšͺ 1.614ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” ENTERPRISE SEO AUDIT β•‘ β•‘ File: tests/benchmarks/seo-performance.test.ts β•‘ β•‘ Ran: 2026-10-06 12:41:10 β•‘ β•‘Measures redirect lookup latency, dynamic sitemap.xml generation, robots.txt serving, and 404 logging performance.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Redirect Lookup (301) β”‚ Cold: 1.62 ms β”‚ Warm: 1.555 ms β”‚ p95: 2.206 ms β”‚ 5,094 RPS β•‘ β•‘ Dynamic Sitemap XML β”‚ Cold: 5.13 ms β”‚ Warm: 0.845 ms β”‚ p95: 1.139 ms β”‚ 9,368 RPS β•‘ β•‘ Robots.txt Generation β”‚ Cold: 1.47 ms β”‚ Warm: 1.614 ms β”‚ p95: 2.653 ms β”‚ 4,923 RPS β•‘ β•‘ Missing Path (404 Log) β”‚ Cold: 55.60 ms β”‚ Warm: 15.758 ms β”‚ p95: 22.088 ms β”‚ 505 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ REAL-TIME BROADCAST AUDIT Β· βšͺ 0.138ms Β· ➑️ β€” Β· 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 Β· βšͺ 1.082ms Β· β†˜οΈ β€” Β· 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 Β· 15 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 12:40:51                                        β•‘
β•‘Measures Bloom-filter style missing-key cache speedup for repeated misses against direct database miss baselines.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Direct DB Miss Baseline      β”‚ Cold:     2.69 ms β”‚ Warm:     0.665 ms β”‚ p95:     0.849 ms β”‚   1,457 RPS β•‘
β•‘ Cold Miss (Bypass Cache)     β”‚ Cold:     8.11 ms β”‚ Warm:     0.536 ms β”‚ p95:     0.624 ms β”‚   1,851 RPS β•‘
β•‘ Hot Miss (Negative Cache)    β”‚ Cold:     0.24 ms β”‚ Warm:     0.001 ms β”‚ p95:     0.003 ms β”‚ 728,856 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.545ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” MULTI-TENANCY PERFORMANCE AUDIT β•‘ β•‘ File: tests/benchmarks/multi-tenant-performance.test.ts β•‘ β•‘ Ran: 2026-10-06 12:40:56 β•‘ β•‘Measures the overhead of tenant isolation, context switching, and data partitioning across many tenants.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Single Tenant Baseline β”‚ Cold: 4.21 ms β”‚ Warm: 0.658 ms β”‚ p95: 0.937 ms β”‚ 11,310 RPS β•‘ β•‘ Multi-Tenant Context Switching β”‚ Cold: 0.83 ms β”‚ Warm: 0.545 ms β”‚ p95: 0.707 ms β”‚ 14,078 RPS β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Realistic Mixed Workload Β· βšͺ 0.752ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” MIXED WORKLOAD AUDIT β•‘ β•‘ File: tests/benchmarks/mixed-workload.test.ts β•‘ β•‘ Ran: 2026-10-06 12:41:13 β•‘ β•‘Simulates real-world traffic with a weighted mix of reads, searches, GraphQL queries, and metadata requests with per-operation telemetry.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Mixed Workload β”‚ Cold: 6.47 ms β”‚ Warm: 0.752 ms β”‚ p95: 2.312 ms β”‚ 8,234 RPS β•‘ β•‘ Mix: REST Read β”‚ 0.835 ms β”‚ p95: 1.224 ms β”‚ RPS: 2,015 β•‘ β•‘ Mix: REST Search β”‚ 0.869 ms β”‚ p95: 1.329 ms β”‚ RPS: 669 β•‘ β•‘ Mix: GraphQL β”‚ 2.333 ms β”‚ p95: 3.392 ms β”‚ RPS: 478 β•‘ β•‘ Mix: Metadata β”‚ 0.866 ms β”‚ p95: 1.317 ms β”‚ RPS: 170 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ GraphQL Load Stress Β· βšͺ 9.302ms Β· ↗️ β€” Β· 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** (+113%) β€” review recent commits immediately.

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

🏷️ Bulk Migration & Scale Β· βšͺ 0.512ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                                  SVELTYCMS β€” MIGRATION & SCALE AUDIT                                  β•‘
β•‘                            File: tests/benchmarks/migration-scale.test.ts                             β•‘
β•‘                                       Ran: 2026-10-06 12:45:26                                        β•‘
β•‘Measures bulk ingestion throughput for 10,000 entries, random point-lookups, and indexed range scans across large datasets.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Bulk Migration (10k docs)    β”‚ Cold:    40.53 ms β”‚ Warm:    19.405 ms β”‚ p95:    26.135 ms β”‚  23,995 RPS β•‘
β•‘ Random Point Lookup          β”‚ Cold:     3.25 ms β”‚ Warm:     1.865 ms β”‚ p95:     2.146 ms β”‚   3,159 RPS β•‘
β•‘ Range Scan & Pagination      β”‚ Cold:    35.73 ms β”‚ Warm:     0.512 ms β”‚ p95:     0.916 ms β”‚  10,650 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Million-Row Index Pressure Β· βšͺ 0.387ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective.
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘                                  SVELTYCMS  β€”  INDEX PRESSURE AUDIT                                   β•‘
β•‘                             File: tests/benchmarks/index-pressure.test.ts                             β•‘
β•‘                                       Ran: 2026-10-06 12:42:17                                        β•‘
β•‘           Measures read performance with sorting and filtering on a large entry collection.           β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Sorted List (25k rows)       β”‚ Cold:     2.63 ms β”‚ Warm:     0.387 ms β”‚ p95:     0.513 ms β”‚  10,243 RPS β•‘
β•‘ Filtered Query (25k rows)    β”‚ Cold:     2.94 ms β”‚ Warm:     0.339 ms β”‚ p95:     0.385 ms β”‚  11,730 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Content Scale Stress Β· βšͺ 0.146ms Β· β†˜οΈ β€” Β· source > [!NOTE] > **Specific to this test**: Performance improved β€” recent optimizations or cache warming likely effective.

⏳ Content Scale Stress: Pending execution. 🎯 Measures content scan performance on 1,000+ collections under .compiledCollections/test/stress (isolated).

🏷️ Media Upload Stress & Throughput Β· βšͺ 7.117ms Β· ↗️ β€” Β· source > [!NOTE] > **Specific to this test**: Avg degraded but p95 stable β€” possible cold-start effect, GC pause, or warmup variance. > **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 12:45:13                                        β•‘
β•‘Measures throughput for large file uploads, concurrent transfers, and streaming efficiency with valid media fixtures.β•‘
╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣
β•‘ Single Upload (0.01MB)       β”‚ Cold:    11.51 ms β”‚ Warm:     6.242 ms β”‚ p95:     6.761 ms β”‚     160 RPS β•‘
β•‘ Small Upload (0MB @ 4c)      β”‚ Cold:     8.30 ms β”‚ Warm:     7.117 ms β”‚ p95:     9.450 ms β”‚     539 RPS β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
🏷️ Full Client Journey Simulation Β· βšͺ 3.470ms Β· ➑️ β€” Β· 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 12:45:32 β•‘ β•‘ Simulates high-concurrency writes to a single document to prove atomic consistency. β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Concurrent PATCH Bomb β”‚ 49.352 ms β”‚ p95: 61.297 ms β”‚ RPS: 1,584 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Multi-Doc Concurrency Throughput Β· βšͺ ⏳ pending Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” DIRECT ADAPTER THROUGHPUT (MONGODB) β•‘ β•‘ File: tests/benchmarks/local-api-throughput.test.ts β•‘ β•‘ Ran: 2026-10-06 12:42:28 β•‘ β•‘Measures direct adapter write throughput, read throughput, and percentile latencies with zero HTTP overhead.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Writes (1000 atomic increments) β”‚ 2.395 ms β”‚ p95: 4.324 ms β”‚ RPS: 2,373 β•‘ β•‘ Reads (1000 point lookups) β”‚ 4.280 ms β”‚ p95: 6.851 ms β”‚ RPS: 8,394 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ```
🏷️ Max Throughput β€” No Throttle Β· βšͺ 69.379ms Β· ➑️ β€” Β· source > ⏳ **Max Throughput β€” No Throttle**: Pending execution. > 🎯 1000 concurrent writes across 100 docs β€” no semaphore.
🏷️ Production Day Simulation Β· βšͺ 1.528ms Β· ➑️ β€” Β· 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 Β· βšͺ 6.501ms Β· ➑️ β€” Β· source ``` ╔═══════════════════════════════════════════════════════════════════════════════════════════════════════╗ β•‘ SVELTYCMS β€” GDPR COMPLIANCE AUDIT β•‘ β•‘ File: tests/benchmarks/right-to-be-forgotten-audit.test.ts β•‘ β•‘ Ran: 2026-10-06 12:42:21 β•‘ β•‘Measures the latency, cascading relational integrity, and throughput of deep user erasure across all linked repositories.β•‘ ╠═══════════════════════════════════════════════════════════════════════════════════════════════════════╣ β•‘ Deep Deletion Speed β”‚ Cold: 15.29 ms β”‚ Warm: 6.501 ms β”‚ p95: 7.187 ms β”‚ 154 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
benchmarkperformancemongodb
Was this page helpful?