Safari low performance on special js web content.

When view some special web content with js, as mentioned below(with right corner on "Continue",which showed in Chinese, you can refer the arrow, let it auto scroll will show the problem). Cause P-core to increase to more 100% cpu usage. The page is test under windows; under chrome on same OS environments, no problem. But on safari 15.6(macOS 12.5, m1 Mac mini), 16beta and tech preview always have the same issue.

https://www.baidu.com/s?rsv_idx=1&wd=%E9%87%8D%E5%BA%86%E5%9F%8E%E5%8F%A3%E5%8E%BF%E5%9F%8E%E4%BE%9B%E6%B0%B4%E6%B0%B4%E6%BA%90%E4%BB%85%E5%A4%9F%E6%94%AF%E6%92%91%E5%8D%81%E5%A4%A9&fenlei=256&ie=utf-8&rsv_pq=c3e520bf0006d8d0&oq=%E5%9B%9B%E5%B7%9D%E5%B0%8F%E4%BC%99%E9%AB%98%E6%B8%A9%E5%A4%A9%E5%8D%96%E5%86%B0%E5%9D%97%E6%97%A5%E5%85%A5%E8%BF%87%E4%B8%87&rsv_t=1b91DUeCY7TbON4DYyf9mO8Ujl1zg9wmPQ0O%2BRUbRNO%2F3g42IBRjUsYmELE&rqid=c3e520bf0006d8d0&rsf=526d5fb04211f1d3aefdb673067d9d32_1_15_7&rsv_dl=0_right_fyb_pchot_20811&sa=0_right_fyb_pchot_20811

"under chrome on same OS environments", I mean macOS environment

update url

https://www.baidu.com/s?rsv_idx=1&wd=%E5%9B%9B%E5%B7%9D%E6%B3%B8%E5%AE%9A%E5%9C%B0%E9%9C%87%E5%B7%B2%E8%87%B446%E4%BA%BA%E9%81%87%E9%9A%BE&fenlei=256&ie=utf-8&rsv_pq=95a827070001ae06&oq=%E9%87%8D%E5%BA%86%E5%9F%8E%E5%8F%A3%E5%8E%BF%E5%9F%8E%E4%BE%9B%E6%B0%B4%E6%B0%B4%E6%BA%90%E4%BB%85%E5%A4%9F%E6%94%AF%E6%92%91%E5%8D%81%E5%A4%A9&rsv_t=9499pKziGDoHv6U2JG4cqkkbhx1Ezvw3fLF2DqO70T%252BE5zT%252BSkdzBHQ9FA8&rqid=95a827070001ae06&rsf=c6c482992b83676862b2eccbce34fded_1_15_2&rsv_dl=0_right_fyb_pchot_20811&sa=0_right_fyb_pchot_20811

Safari low performance on special js web content.
 
 
Q