Skip to main content

PageSpeedCategory

Category score, audit counts, and actionable recommendations returned by pageSpeedRunAnalysis.

type PageSpeedCategory {
id: PageSpeedCategoryId!
title: String!
descriptionMarkdown: String
score: Float
passedCount: Int!
failedCount: Int!
manualCount: Int!
recommendations: [PageSpeedRecommendation!]!
}

Fields​

PageSpeedCategory.id ● PageSpeedCategoryId! non-null enum​

PageSpeedCategory.title ● String! non-null scalar​

PageSpeedCategory.descriptionMarkdown ● String scalar​

Captured category explanation in Markdown; null when absent.

PageSpeedCategory.score ● Float scalar​

Numeric score as a fraction from 0 to 1; null when no numeric score is supplied.

PageSpeedCategory.passedCount ● Int! non-null scalar​

Referenced audits with score equal to 1.

PageSpeedCategory.failedCount ● Int! non-null scalar​

Referenced audits with numeric score below 1, excluding manual and not-applicable modes.

PageSpeedCategory.manualCount ● Int! non-null scalar​

Referenced audits with manual score display mode.

PageSpeedCategory.recommendations ● [PageSpeedRecommendation!]! non-null object​

Actionable audits, sorted by estimated milliseconds saved then bytes saved descending, score ascending, then ID.

Member Of​

PageSpeedRunAnalysis object