{"enrichment":{"faq":[{"a":"memory-benchmark measures heap allocations and process memory for SQL workloads under different journal modes. Enable dhat-based allocation tracking by running workload profiles (insert-heavy, read-heavy, mixed, scan-heavy, series-blob, update-churn) and parsing the generated dhat-heap.json output to identify memory hotspots and allocation sites.","q":"How to profile memory usage in turso with memory-benchmark?"},{"a":"memory-benchmark analyzes heap allocations using dhat output to identify memory hotspots and allocation pressure points. It captures allocation sites, tracks where memory is being allocated during SQL execution, and compares patterns across runs to detect memory regressions in WAL and MVCC modes.","q":"What does memory-benchmark track about heap allocations?"},{"a":"memory-benchmark benchmarks and profiles memory usage of SQL workloads under both WAL and MVCC modes. Run the same workload profile under each journal mode, then compare heap allocations, stack usage, and process RSS memory snapshots to understand memory behavior differences between modes.","q":"How can I compare WAL vs MVCC memory behavior?"},{"a":"memory-benchmark includes six built-in workload profiles: insert-heavy, read-heavy, mixed, scan-heavy, series-blob, and update-churn. These profiles enable regression detection, performance tuning, and memory behavior analysis under different SQL execution patterns and concurrent connection scenarios.","q":"What workload profiles does memory-benchmark provide?"},{"a":"memory-benchmark includes a stack-report binary that investigates stack usage and memory growth during SQL execution. This tool analyzes stack allocation patterns, helping you understand memory behavior and identify growth trends across different workload profiles and journal modes.","q":"How does memory-benchmark investigate stack usage?"},{"a":"Yes, memory-benchmark detects memory regressions by comparing allocation patterns across runs. It tracks heap allocations, process memory snapshots, and stack usage metrics to identify performance degradation, helping you catch memory leaks and allocation pressure increases in your SQL workloads.","q":"Can memory-benchmark detect memory regressions?"}],"shadow_tags":["heap-profiling","allocation-tracking","performance-analysis","regression-detection","memory-diagnostics","workload-simulation","stack-introspection","journal-modes","ci-instrumentation"],"summary_rewrite":"memory-benchmark measures heap allocations and process memory for SQL workloads under different journal modes. It includes dhat-based allocation tracking, stack-usage analysis via the stack-report binary, and six built-in workload profiles (insert-heavy, read-heavy, mixed, scan-heavy, series-blob, update-churn) for regression detection and performance tuning."},"files":[{"bytes":15782,"path":".claude/skills/memory-benchmark/SKILL.md","sha256":"53b41f86c8859f996c3829a4c14f589647c8f9d3633bea4d12cfd54602b062cc","url":"https://skillfed.io/files/tursodatabase/turso/memory-benchmark/8075f992/SKILL.md"}],"id":"tursodatabase/turso/memory-benchmark","links":{"html":"https://skillfed.io/tursodatabase/turso/memory-benchmark","md":"https://skillfed.io/tursodatabase/turso/memory-benchmark.md","repo":"https://github.com/tursodatabase/turso"},"meta":{"agents_supported":["claude-code"],"first_seen":"2026-07-28","forks":1211,"language":"Rust","last_updated":"2026-07-28","license":"MIT","name":"memory-benchmark","publisher":"tursodatabase","stars":23479},"relations":{"similar":[{"id":"mohitmishra786/low-level-dev-skills/rust-profiling"},{"id":"terrylica/cc-skills/rust-sota-arsenal"},{"id":"CodSpeedHQ/codspeed/codspeed-setup-harness"},{"id":"CodSpeedHQ/codspeed/codspeed-optimize"},{"id":"rtk-ai/rtk/performance"},{"id":"ulpi-io/skills/rust"},{"id":"tursodatabase/turso/mvcc"},{"id":"tursodatabase/agent-skills/turso-db"},{"id":"actionbook/rust-skills/m10-performance"},{"id":"mohitmishra786/low-level-dev-skills/custom-allocators"}]},"slug":{"owner":"tursodatabase","repo":"turso","skill":"memory-benchmark"},"version":"8075f992"}
