Add measurement for caching project content.

This adds a measurement for creating project index (caching all the file and directory stats).