14) Performance

📖 Performance and Profiling

This week we review more underlying principles that have to do with performance in R.

📰 Slides

14-performance-profiling.pdf

🎯 Objectives

At the end of this week you will be able to:

  • Provide an example of copy-on-modify policy.
  • Apply the function system.time() to time commands in R.
  • Apply yhe function Rprof() and summaryRprof() to profile code in R.

📚 Reading

🔬 Lab

Practice measuring performance.