Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 439 Bytes

optimization.md

File metadata and controls

10 lines (8 loc) · 439 Bytes

CPU Optimization

  • efficiency - optimal utilization of resources
  • speed - how quick program executes
  • latency - execution time per unit number of instructions on the CPU
  • throughput - number of instructions per second
  • only a small portion of code causes performance issues
  • performance enhancements rely on data and CPU -> test should be done first
  • compiler generates - different assemply instructions for different data types