Forgive me in advance for being a compete dumbass when it comes to web design. I have a five yar old WP website that used to rank on of google search for various different articles. Over the years, the site was neglected and performance went to shit due to "responsive menu" issues. The site was slow and did not even show up in search results anymore! A friend of mine recommended installing a new WP theme, which fized all my performance issues. My questions is – will Google register it a a new site for SEO rankings, or take into consideration that the site was around for years?

[https://www.debugbear.com/docs/core-web-vitals-ranking-factor#:~:text=Conclusion%E2%80%8B,rates%20and%20reduce%20hosting%20costs](https://www.debugbear.com/docs/core-web-vitals-ranking-factor#:~:text=Conclusion%E2%80%8B,rates%20and%20reduce%20hosting%20costs).
Exactly how much it matters is up for debate.