Racism is the same and yet takes different guises, depending on the history of the country, the local culture and also the culture of the immigrant groups involved.
Looking at history, for instance in France- due to the Colionalism in North Africa, there is huge racism against North-Africans, even those who are 3rd, 4th and even 5th generation, for instance. The history of France and the basic principle of secularity and total segregation of State and Religion, also gives it a different slant (for instance on wearing a scarf or niquab, or religious based schools, etc). Indian/Pakistani immigrants are almost unknown there- as these immigrants are generally in the UK, again based on British colionalism.
Switzerland on the other hand does not have any history of colonialism- and therefore does not have specific groups of immigrants issued from past history. The only reason Switzerland has immigrants, is because they are attracted by higher salaries, quality of life and security. And immigrants arrived here much much later than in the UK (Windrush and the UK begging immigrants to come and re-buid post war Britain). Switzerland was a very poor rural country until not that long ago- with net emigration, for economic purposes, to the USA and Australia, throughout the 19 and early 20C- many many of them my relatives, including several of my dad's brothers and sisters, sent to New York in the late 20s with a one way ticket and 100$ as the family couldn't feed them- with a large group of youngsters from the village (my dad and his younger brother were too young). It's only in the 50s that large groups of Italian seasonal workers arrived, later bringing their families in the 60s, then Spanish and Portuguese. Created a bit of a stir- but perhaps easier as they were Christian and European (although here my county was staunchly Protestant- so it did create issues). The most problematic immigration phase here was with the Albanians and Serbians after their war. They hated each other and violent fights often broke out - mostly they are well integrated now, and mixed mariages between all the above groups have changed society forever which is generally well accepted.
However, there are tensions here too. Recently large groups have arrived from Spain and Portugal again, Greece too, and all over the world- attracted by the reputation of all Swiss being rich, salaries high and safety top notch. The Swiss Franc is currently far far too high, and exports are suffering hugely, and unemployment rising- and with over 50% of foreigners, as well as 100000 of French, German and italian workers commuting daily into Switzerland to work- many of the 'natives' affected are not happy. Those over-border commuters have seen their salaries go up by 40% overnight when the Swiss Franc was allowed to rise massively 2 years ago- wherease their Swiss colleagues have at the same time seen their own costs go up massively, and losing their jobs. So the rise of 'racism' or anti-immigration, are based on financial aspects rather than religious/cultural. Not sure if that helped Cherrytree59?