Impact of the number of elements on performance

Wondering what is the impact of the number of elements added to a page on performance. My page contains sections that I show and hide using conditional rendering. There’s quite a few sections, each containing a lot of elements. At what point does the quantity of elements impact performance and what’s the impact of conditional rendering?

Nobody has answered so I thought Id give my 2 cents.

Elements that are not displayed due to conditional rendering don’t get rendered at all so they won’t affect performance negatively.

I’d think that if you have lots of conditional elements or sections then it could potentially add to loading time because on page load it needs to check for all of those conditions. I may be off here and I’m sure if I am someone will correct me. I think this would add minimal load thought.

Besides that it all depends on what elements you have, whether or not they are in collection lists, and how those elements are nested and binding to data.