lang-rust-profiling-eng

Community

Profile Rust tests with valgrind and nextest

AuthoraRustyDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Profile and debug Rust code by integrating valgrind and callgrind with Nextest to identify crashes, memory errors, and performance bottlenecks.

Core Features & Use Cases

  • Valgrind integration for memory debugging (crashes, leaks, and uninitialized values)
  • Callgrind profiling for function-level insights and performance tuning
  • Nextest integration to focus profiling on Rust test suites and CI workflows
  • GUI-friendly outputs and annotated reports for quick diagnostics

Quick Start

Use the following commands to start profiling Rust tests with this skill:

  • Run tests under valgrind: cargo nextest run --profile valgrind -p PACKAGE TEST_FILTER
  • Profile with callgrind: valgrind --tool=callgrind --callgrind-out-file=callgrind.out cargo nextest run --no-fail-fast -p PACKAGE TEST_FILTER
  • Analyze outputs: callgrind_annotate callgrind.out or open with kcachegrind/qcachegrind

Dependency Matrix

Required Modules

valgrindcallgrind

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lang-rust-profiling-eng
Download link: https://github.com/aRustyDev/git-atomic/archive/main.zip#lang-rust-profiling-eng

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.