**System Information**
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.47
**Blender Version**
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-15 21:08, hash: `rB7e42ae7c1af0`
Worked: blender-3.0.0-alpha+master from 2021-10-25
**Short description of error**
Massive lag and terrible viewport navigation (zoom, pan, rotate) performance when sculpt vertex color is used on a high polygon mesh (4 or more million) and if you enable "Viewport Shading -> Color -> Vertex". Just enabling it once totally bricks that object - using other color modes like object or random doesn't help. Deleting the broken objects reverts the performance problems.
**Exact steps for others to reproduce the error**
edit: only happens when you use these config files {F12583078}
- open a new scene and add a sphere
- use subdivision surface modifier with 10 levels on the default cube and apply it (viewport navigation like zoom, pan and rotate should be smooth at this point)
- go to sculpt mode and use the sculpt vertex paint brush (don't enable vertex under "viewport shading -> color" yet)
- leave sculpt mode and go to edit mode for example, viewport performance is still normal and smooth but now enable vertex under "viewport shading -> color"
Now you've got terrible zooming performance and initial lag whenever you rotate or pan the viewport. Feel free to choose object or material or any other color mode in the viewport shading menu - it won't help. You need to delete the object to restore viewport performance.