From 696c11b316bc7d036e064c60668a60248f50fa3b Mon Sep 17 00:00:00 2001 From: Addy Osmani Date: Tue, 15 Nov 2016 18:10:57 -0800 Subject: [PATCH] Update TTI scoring label to 5000 (matches guidance) --- lighthouse-core/audits/time-to-interactive.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lighthouse-core/audits/time-to-interactive.js b/lighthouse-core/audits/time-to-interactive.js index 7484afdbff0a..75b4929350bc 100644 --- a/lighthouse-core/audits/time-to-interactive.js +++ b/lighthouse-core/audits/time-to-interactive.js @@ -17,6 +17,8 @@ const Formatter = require('../formatters/formatter'); // https://www.desmos.com/calculator/jlrx14q4w8 const SCORING_POINT_OF_DIMINISHING_RETURNS = 1700; const SCORING_MEDIAN = 5000; +// This aligns with the external TTI targets in https://goo.gl/yXqxpL +const SCORING_TARGET = 5000; class TTIMetric extends Audit { /** @@ -27,7 +29,7 @@ class TTIMetric extends Audit { category: 'Performance', name: 'time-to-interactive', description: 'Time To Interactive (alpha)', - optimalValue: SCORING_POINT_OF_DIMINISHING_RETURNS.toLocaleString(), + optimalValue: SCORING_TARGET.toLocaleString(), requiredArtifacts: ['traceContents'] }; }