Build with Naz : Claude Code + Rust profiling and perf

Опубликовано: 18 Февраль 2026
на канале: developerlife․com
809
17

This video dives into a powerful code optimization workflow for using Claude Code and other tools (flamegraph, inferno, etc) showcasing how to install and configure the tools and create a feedback loop to effectively measure the impact of code changes (to performance).

We'll walk you through the complete setup of our environment, including the integration of Rust, rust-analyzer, and a custom AI coding tool (claude code and mcp server). The core of the video focuses on a practical optimization example, where we use flamegraph and inferno with perf-folded output to identify performance bottlenecks and the analyze them using Claude Code.

For comments and feedback please use these:
Issue: https://github.com/nazmulidris/rust-s...
Repo: https://github.com/r3bl-org/r3bl-open...

Chapters:
00:00:00 Intro
00:02:10 Repo to use & overview of tasks
00:05:41 The scripts bootstrap.sh, run.nu, and core deps
00:13:07 Install claude code
00:36:04 Install go MCP lang server
00:46:30 Configure Claude Code to use rust-analyzer with MCP lang server
01:00:17 Configure VSCode Copilot MCP servers
01:08:05 Create Claude Code custom commands for rust-analyzer
01:15:00 Use mcp tools with vscode
01:18:00 Flamegraph profiling, analysis, impact measurement workflow
01:26:00 Thoughts on profiling and performance
01:35:00 Outro