Was Imperial Japan's persecution of taipans/Shanghailanders during WWII less bad compared to the Nazis' persecuting the Jews of Europe?

I've read and watched Empire of the Sun a few times and it seems like the Japanese's internment of expatriates living in China was a bit merciful compared to what the victims of the Holocaust went through, except while the Westerners died of natural causes and starvation, the Jews were systematically murdered. So I guess, the Nazi's persecution was worse.