The recent release of the XM Cloud base image 1.4.523 includes the following improvement:
A new ExperienceEdge.IncludeDependencyAncestors setting lets customers turn the collection of ancestor items during publishing on or off. Turning it off improves the publishing performance.