GPU and RAM are the most important for TradingView lag - for those with 100+ tabs
My system is a Ryzen 9700X and initially started with 1x 32GB of DDR5 RAM (G Skill Ripjaws 6000Mhz) and an RX 580 GPU (I am not a gamer). Once I went over 100 tabs of Tradingview (each containing 10 panes), it lagged like hell.
Secondly, I bought another stick of 32GB DDR5 RAM and still lagged like hell once I crossed 100 tabs.
Thirdly, I upgraded to an RTX 5060, zero lag. Increased the tabs to 120 (I trade multiple tickers) and still, zero lag. That's with each indicator pane having 10+ indicators. Heavy heavy multitasking.
So I think the GPU does a lot for helping rendering the Tradingview graphics output and CPU for the initial Pinescript + data processing. Perhaps the RTX 5060 acts as a second processor for loading the charts and supports the function of the 9700X. I'm not entirely sure why the new GPU helped so much. The 9700X is still extremely fast and I'm very impressed by it.
Most people told me the GPU doesn't matter for Tradingview. But it made a huge difference for me.