Ten audyt pozwala sprawdzić, czy pierwsze żądanie reklamy jest opóźnione przez długie zadania. Długie zadanie to kod JavaScript, który blokuje wątek główny przez co najmniej 50 ms. Jeśli przed żądaniem reklamy wystąpią długie zadania, przeglądarka nie będzie w stanie wysłać żądania, dopóki wszystkie zadania nie zostaną wykonane.
Rekomendacje
Sprawdź zadania, które blokują pierwsze żądanie reklamy, i dowiedz się, jak je usunąć lub skrócić ich czas wykonywania poniżej 100 ms. Oto kilka sposobów na skrócenie czasu wykonywania:
Optymalizowanie zadań pod kątem szybszego wykonywania
Podziel zadania na mniejsze fragmenty, które są wykonywane pojedynczo w czasie < 100 ms
Opóźnianie zadań do momentu wysłania żądań reklamy
przeniesienie zadań z wątku głównego za pomocą instancji roboczej,
Więcej informacji
Ten audyt zawiera 10 zadań o najdłuższym czasie wykonywania, posortowanych według czasu rozpoczęcia (rosnąco).
[null,null,["Ostatnia aktualizacja: 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"]]