The constant state of militarism

What role did the constant state of militarism and the costs of keeping up with the U.S. military buildup have on the Soviet economy?