What problem does it solve?
It helps you identify real performance bottlenecks in R and choose the right optimization techniques without guessing or prematurely rewriting code.
Core Features & Use Cases
- Profiling-first workflow: Use profvis and benchmark runs to locate where time is actually spent and to validate improvements.
- Benchmark-driven comparison: Use bench::mark() to compare multiple implementations and understand runtime and memory trade-offs.
- Optimization strategies for hot spots: Apply vctrs for type stability and consistent coercion, and select appropriate data backends (base R, dplyr, data.table) based on dataset size and needs.
- Parallelization guidance: Use parallel patterns carefully to avoid overhead and memory issues.
Quick Start
Use r-performance to diagnose and improve the speed of your R workflow by asking your AI to profile your current function, benchmark alternatives for the slowest parts, and recommend targeted changes using vctrs and the right data backend.