Economically Russia is irrelevant (a.k.a puny). The only damage to the global economy from the war and sanctions was energy pricing pain in Europe.
If the same thing happens with China it’s going to be significant economic pain for the entire world for years due to its prominence as a manufacturing and electronics hub.