این ممیزی بررسی می کند که آیا اولین درخواست آگهی به دلیل کارهای طولانی به تعویق افتاده است یا خیر. یک کار طولانی به عنوان کد جاوا اسکریپت تعریف می شود که رشته اصلی را برای 50 میلی ثانیه یا بیشتر مسدود می کند. اگر کارهای طولانی قبل از درخواست آگهی اتفاق بیفتد، مرورگر نمی تواند درخواست را تا زمانی که تمام کارها تکمیل شود صادر کند.
توصیه ها
کارهایی را که اولین درخواست تبلیغ را مسدود میکنند بررسی کنید و راههای حذف آنها یا کاهش زمان اجرای آنها را زیر ۱۰۰ میلیثانیه بررسی کنید. برخی از رویکردها برای کاهش زمان اجرا عبارتند از:
بهینه سازی وظایف برای اجرای سریعتر
تقسیم وظایف به تکه های کوچکتر، که به صورت جداگانه در کمتر از 100 میلی ثانیه اجرا می شوند
به تعویق انداختن کارها تا پس از درخواست آگهی
جابجایی وظایف خارج از موضوع اصلی از طریق یک کارگر
اطلاعات بیشتر
این ممیزی 10 طولانی ترین کار برتر را بر اساس زمان اجرا، مرتب شده بر اساس زمان شروع (صعودی) نشان می دهد.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["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"]]