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?

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?