Google doesn't cut off rendering after 5 seconds, but I understand why you might think it does.
Googlebot does not strictly terminate page rendering after five seconds, debunking a common SEO myth regarding crawl budgets and JavaScript execution. Instead, the search engine uses a sophisticated queuing system that scales resources based on site performance and perceived content value.