Max rows supported by treemap before seeing extreme low rendering

Hi, I’m using px on a pandas dataframe with about 5-10 levels (maxdepth = 3) which seems to work fine if the dataframe is only a thousand rows. However, the rendering takes a much longer time with 100K+ rows and basically impossible with anything bigger than 1M. Is this expected? Are there any workarounds or optimization tricks to try?