Performance Auditor
Overview
This skill helps identify performance bottlenecks in the codebase or build process.
Tasks
1. Storage Analysis
- •Check File Sizes: Run
scripts/check_file_sizes.shto find the largest files in the repository (ignoring node_modules and .git).
2. Benchmarking
- •Benchmark Command: Run
scripts/benchmark_command.sh <command>to execute a command 3 times and see the wall-clock time for each run.
Workflow: Optimization
- •Identify large assets that could be compressed or moved to LFS.
- •Benchmark slow tests or build steps to establish a baseline.
- •Apply optimizations and re-benchmark to verify improvements.