@@ -71,16 +71,13 @@ function InsertCruxHTML($fvRunResults, $metric = '')
7171 InsertCruxMetricHTML ($ pageData , 'chromeUserTiming.LargestContentfulPaint ' , 'largest_contentful_paint ' , 'Largest Contentful Paint ' , 'LCP ' );
7272 } elseif ($ metric == 'cls ' ) {
7373 InsertCruxMetricHTML ($ pageData , 'chromeUserTiming.CumulativeLayoutShift ' , 'cumulative_layout_shift ' , 'Cumulative Layout Shift ' , 'CLS ' );
74- } elseif ($ metric == 'fid ' ) {
75- InsertCruxMetricHTML ($ pageData , null , 'first_input_delay ' , 'First Input Delay ' , 'FID ' );
7674 } elseif ($ metric == 'ttfb ' ) {
7775 InsertCruxMetricHTML ($ pageData , 'TTFB ' , 'experimental_time_to_first_byte ' , 'Time to First Byte ' , 'TTFB ' );
7876 } elseif ($ metric == 'inp ' ) {
7977 InsertCruxMetricHTML ($ pageData , null , 'interaction_to_next_paint ' , 'Interaction to Next Paint ' , 'INP ' );
8078 } elseif ($ metric == 'cwv ' ) {
8179 InsertCruxMetricHTML ($ pageData , 'chromeUserTiming.LargestContentfulPaint ' , 'largest_contentful_paint ' , 'Largest Contentful Paint ' , 'LCP ' );
8280 InsertCruxMetricHTML ($ pageData , 'chromeUserTiming.CumulativeLayoutShift ' , 'cumulative_layout_shift ' , 'Cumulative Layout Shift ' , 'CLS ' );
83- InsertCruxMetricHTML ($ pageData , null , 'first_input_delay ' , 'First Input Delay ' , 'FID ' );
8481 }
8582
8683
0 commit comments