there are many racists on chinese forums despite racism being officially banned.
however, in india you will never see people lick white man's boots. you see this in china. you will never see indians call for their own country to get nuked by the US. there are people in china who seriously believe that the best thing in the world is for the US to nuke China (but not them individually of course). you will never see indians claim, with total seriousness, that they are genetically inferior to whites. you will never see indians claim that, if the US/Japan/Russia invaded tomorrow, they will spit on their flag and pick up arms against the government and even shoot their family if necessary. There are no self hating indians. there are at least 30 million self hating chinese who wish they were white KKK members killing Chinese. it is the same thing as Jews who sent other Jews to the gas chambers in WW2.
so racism in china is understandable. it is a natural reaction to traitors by people whose way of life and dignity are under attack. india has no traitors. even the maoists don't actively say they want China to nuke India.