Chapter 42 Performance Profiling

What You’ll Learn:

  • profvis for profiling
  • Identifying bottlenecks
  • Memory profiling
  • Benchmarking

Difficulty: ⭐⭐⭐ Advanced

42.1 Summary

Profile R code to identify performance bottlenecks using profvis and bench.

Key Tools: - profvis() - Visual profiler - bench::mark() - Benchmarking - Rprof() - Base R profiling