Russia likes to pretend that they are on par with the best from the west whereas china is way down the ladder. But the truth is Russia was already way behind the west when the soviet union collapsed, and the past 2 decades have only seen them falling further behind whereas China over the same period has been catching up quickly. My assessment is that China is still way behind the west (perhaps by couple decades), US in particular, but at same time China is breathing down Russia's neck as far as military technology is concerned, and is about to overtake Russia in the next 5-10 years.
I don't buy the crap that Su35 is the 4.5 gen fighter, 2nd only to F22. For me, any western jets, be it F15, F16, F18, Mirage2000, not to mention Eurofighter, Rafale and of course F22, are far superior to any russian jets, past or present. Think about why India is willing to spending 40-50 million euro a pop on upgrading the 2.5 decade old Mirage2000 when it could almost buy a brand new Su30MKI for the same price? There are fundamental differences between western and russian (have to admit chinese as well) products. Take a look at the hydraulic system used on Su27, it looks like it is made by someone in Vietnam in a back yard. That's why 80% of russia's export is made up of raw materials, that's why its only countries that don't have money or are barred by the west, are buying weapons from Russia, and that's why the russians themselves are flying Boeing/Airbus instead of Tupolev or Illusin, and that's why India now flush with cash are increasingly looking to the west for arms.