- The document discusses how PagerDuty's Chef runs became bloated and slow as the infrastructure grew in size and complexity. - Measurements found Chef was using over 500MB of memory and taking around 180 seconds to complete runs. - Several optimizations were made including step-through searches, partial searches, result memoization, and API tarpitting which reduced memory usage to 60MB and run time to 30 seconds, improving performance significantly. - The optimizations led to an 88% reduction in memory usage and 84% faster Chef runs.