Skip to content

Commit

Permalink
Update TTI scoring label to 5000 (matches guidance)
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Nov 16, 2016
1 parent 7e57a2d commit 696c11b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lighthouse-core/audits/time-to-interactive.js
Expand Up @@ -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 {
/**
Expand All @@ -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']
};
}
Expand Down

0 comments on commit 696c11b

Please sign in to comment.