I measure a programming challenge by how often my Mac goes to sleep while I’m staring at Xcode.