Essa auditoria verifica se a primeira solicitação de anúncio está atrasada por tarefas longas. Uma
tarefa longa é
definida como um código JavaScript que bloqueia a linha de execução principal por 50 ms ou mais. Se ocorrerem tarefas longas antes de uma solicitação de anúncio, o navegador não poderá emitir a solicitação até que todas as tarefas sejam concluídas.
Recomendações
Analise as tarefas que estão bloqueando a primeira solicitação de anúncio e investigue formas de
removê-las ou reduzir o tempo de execução para menos de 100 ms. Algumas abordagens para
reduzir o tempo de execução incluem:
Como otimizar tarefas para execução mais rápida
Dividir tarefas em partes menores, que são executadas individualmente em < 100 ms
Adiar tarefas até que as solicitações de anúncios sejam feitas
Como remover tarefas da linha de execução principal usando um worker
Mais informações
Esta auditoria exibe as 10 tarefas mais longas por tempo de execução, classificadas por horário de início (crescente).
[null,null,["Última atualização 2024-06-26 UTC."],[[["This audit identifies long-running JavaScript tasks (over 100ms) that delay the initial ad request, potentially impacting ad revenue."],["Optimizing, splitting, delaying, or offloading these tasks can improve ad loading times."],["The audit highlights the top 10 longest tasks based on their execution time to help pinpoint problem areas."],["Long tasks block the main thread, preventing the browser from sending the ad request until they complete."],["Addressing these tasks is crucial for ensuring timely ad delivery and a smoother user experience."]]],["This audit identifies long JavaScript tasks (100ms+) that delay the initial ad request. These tasks block the main thread, preventing the browser from issuing the request. The audit recommends reducing these tasks by optimizing, splitting them into smaller chunks, delaying their execution until after ad requests, or moving them off the main thread. The top ten longest tasks, sorted by start time, are displayed.\n"]]