What is the utility of creating a full-depth Visual Sitemap?

I’m a programmer that is new to UX and have a potential web project that has probably ~5k pages.

What type of information could I take away and benefit from this tedious exercise?