memory-benchmark

Analyzes Turso SQL workload memory usage with dheap profiler and memory-stats crate.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/ammonfife/sakima.co --skill memory-benchmark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-benchmark
Source: https://github.com/ammonfife/sakima.co/tree/main/.claude/skills/turso-memory-benchmark
Command: npx skills add https://github.com/ammonfife/sakima.co --skill memory-benchmark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires perf/memory, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you benchmark and analyze memory usage in Turso, providing insights into allocation patterns and memory growth.

Core Features & Use Cases

  • Memory Benchmarking: Analyze memory usage of SQL workloads under WAL and MVCC modes.
  • dhat Heap Profiler: Track every heap allocation for precise memory usage analysis.
  • Analysis Script: Generate readable reports from benchmark output.
  • Use Case: Use this Skill to investigate memory growth in WAL or MVCC mode and understand where memory is being allocated during SQL workloads.

Quick Start

Run the memory-benchmark skill with the following command: cargo run --release -p memory-benchmark -- --mode wal --workload insert-heavy -i 100 -b 100

Frequently Asked Questions about memory-benchmark

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark memory usage in Turso SQL workloads?

The dhat heap profiler tracks every heap allocation during SQL workloads, providing precise memory usage analysis to help you investigate memory growth in WAL or MVCC modes.

How do I track heap allocations during a Turso memory benchmark?

You need the perf/memory crate and its associated tools installed in your environment to execute the memory benchmarking and heap profiling analysis.

Can I analyze memory growth differences between WAL and MVCC modes?

Yes, the memory benchmarking tool allows you to analyze memory usage of SQL workloads under both WAL and MVCC modes to identify where memory is being allocated during execution.

Do I need the perf/memory crate to run memory benchmarks on Turso?

Yes, the perf/memory crate is a required dependency for executing the memory-benchmark skill and running the dhat heap profiler on Turso SQL workloads.

What's the best way to generate readable memory profiling reports from Turso workloads?

The analysis script processes dhat heap profiler benchmark output to generate readable reports, helping you understand allocation patterns and memory growth during SQL workloads.