Probably depends on the build.
If you for example have a configuration as file collection as input, then this is probably resolved when the configuration cache is saved and then on cache-reuse it does not need to be resolved again.
Without configuration cache it is maybe just resolved at execution time, but each time on execution.