Operating system: windows 10 64
Graphics card: gtx1070
Broken: 2.80 beta, 798d2cadc307, 2019-03-04
In complex scene, switch between Solid and Wireframe mode in normal way is slowly, but you used x-ray is very quickly.
Short description of error
1, In a complex scene(my test have 3.8 million face), press z key used pie to switch between wireframe and solid mode, it's will take about three second, very slowly.
1, Enable the wireframe in overlays option, and set the x-ray alpha to zero in shading option;
2, In solid mode, Press Alt +Z to switch between wireframe and solid, you can see it's very quickly, switch is realtime.
Method First used z with pie:
Method Second used xray with alt+z:
So I think switch between wireframe and solid mode can do some optimization and more quickly, sorry my poor English