There is also the compilation time. So it depends if the program is meant to be run about as many time as being compiled (during development)
Or if the program is compiled once, and run millions of times
> Are there any use cases where its beneficial to compile frequently?
Writing software?
It's very useful to check your work. If can only verify your work slowly, then you will verify less frequently. This means you will work on a large feature but only check at the very end. This can be very inefficient, and checking for mistakes as you write code is much more efficient.