Toolverse
All skills

rspack-perf-profiling

by web-infra-dev

Run Rspack performance profiling on Linux using perf (with DWARF call stacks), generate perf.data, and analyze hotspots. Use when you need CPU-level bottlenecks, kernel symbol resolution, or repeatable profiling for rspack build/bench cases. Includes optional samply import with

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Data Science
Views
2

About this skill

Run Rspack performance profiling on Linux using perf (with DWARF call stacks), generate perf.data, and analyze hotspots. Use when you need CPU-level bottlenecks, kernel symbol resolution, or repeatable profiling for rspack build/bench cases. Includes optional samply import with per-CPU threads for visualization, but primary analysis is perf-based.

How to use

  1. Zbuduj binding z włączoną obsługą profilowania, uruchamiając pnpm run build:binding:profiling w głównym katalogu projektu Rspack.

  2. Włącz symbole jądra, aby uzyskać pełne stack trace'i. Uruchom echo 0 | sudo tee /proc/sys/kernel/kptr_restrict i echo 1 | sudo tee /proc/sys/kernel/perf_event_paranoid. Opcjonalnie zainstaluj symbole debugowania vmlinux lub przekaż ścieżkę do vmlinux poleceniu perf report.

  3. Przygotuj benchmark — sklonuj repozytorium build-tools-performance obok katalogu rspack (nie wewnątrz niego), a następnie zainstaluj zależności dla wybranego case'u, np. react-10k, poleceniem pnpm install.

  4. Powiąż lokalny rdzeń Rspack z benchmarkiem, aby case'i mogły rozwiązać @rspack/core, używając pnpm add -w @rspack/core@link:../rspack/packages/rspack.

  5. Uruchom profilowanie perf na wybranym case'u, np. react-10k, poleceniem perf record -o ./perf.data -e cycles:uk -F 4000 --call-graph dwarf -- node --perf-prof --perf-basic-prof --interpreted-frames-native-stack ../../../rspack/packages/rspack-cli/bin/rspack.js -c ./rspack.config.mjs. Parametr -F 4000 ustawia częstotliwość próbkowania; zwiększ go dla większej gęstości danych, ale przygotuj się na większy plik perf.data.

  6. Analizuj wyniki za pomocą perf report bezpośrednio z pliku perf.data lub opcjonalnie zaimportuj dane do samply dla interaktywnej wizualizacji wątków na CPU.

Related skills

pptx

by anthropics

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

Data Science
134310

last30days

by sickn33

Research a topic from the last 30 days on Reddit + X + Web, become an expert, and write copy-paste-ready prompts for the user's target tool.

Data Science
2148

arxiv-search

by langchain-ai

Search arXiv preprint repository for papers in physics, mathematics, computer science, quantitative biology, and related fields

Data Science
76172

quant-analyst

by zenobi-us

Expert quantitative analyst specializing in financial modeling, algorithmic trading, and risk analytics. Masters statistical methods, derivatives pricing, and high-frequency trading with focus on mathematical rigor, performance optimization, and profitable strategy development.

Data Science
67217

threejs

by mrgoonie

Build 3D web apps with Three.js (WebGL/WebGPU). Use for 3D scenes, animations, custom shaders, PBR materials, VR/XR experiences, games, data visualizations, product configurators.

Data Science
1743

nano-banana-pro

by garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., \

Data Science
535772