Excluded documents are not considered when deploying.
Unused documents are deployed. The Modeler cannot be entirely sure whether something is unused. For example, a microflow can be called through a Java action which is invisible to the Modeler that only looks at the model, not the Java source code.
Project size is the most important factor for deployment time.