Hacker News new | ask | show | jobs
Ask HN: How do you deal with long compile times?
1 points by caspervonb 1880 days ago
What do you spend your time on while something is building for an hour or more?

I end up doing reviews and triaging issues, but of course 30 minutes or longer to wait on a compile breaks focus.

3 comments

Writing documentation of the changes that were made, Writing test cases for the code that I just added, Writing a detailed commit message for the changes...

...and trying to figure out if the compile time can be reduced!

Focus is not usually the problem here. It's actually context-switch.

Avoid any task that has high context-switch cost.

Go for a walk.