Skip to main content

Main Thread Script Parsing

This report provides a list of URLs along with the time spent parsing and compiling JavaScript scripts on the main thread. This involves the initial parsing of script files and the compilation of JavaScript code before execution.

Priority: None

Impact: Neutral

How to fetch the data for this report template​

You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query:

query GetReportForCrawl($crawlId: ObjectID!, $reportTemplateCode: String!) {
getCrawl(id: $crawlId) {
reportsByCode(
input: {
reportTypeCodes: Basic
reportTemplateCodes: [$reportTemplateCode]
}
) {
rows {
nodes {
... on CrawlSiteSpeedAuditItems {
opportunityDigest
element
url
wastedSecs
pageviews
productOfWastedSecsAndPageviews
auditResult
}
}
}
}
}
}

Try in explorer