Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
No EOL
1.5 KiB
Text
27 lines
No EOL
1.5 KiB
Text
export { TotalBlockingTimeComputed as TotalBlockingTime };
|
|
declare const TotalBlockingTimeComputed: typeof TotalBlockingTime & {
|
|
request: (dependencies: import("../../index.js").Artifacts.MetricComputationDataInput, context: LH.Artifacts.ComputedContext) => Promise<import("../../index.js").Artifacts.Metric | import("../../index.js").Artifacts.LanternMetric>;
|
|
};
|
|
/**
|
|
* @fileoverview This audit determines Total Blocking Time.
|
|
|
|
* We define Blocking Time as any time interval in the loading timeline where task length exceeds
|
|
* 50ms. For example, if there is a 110ms main thread task, the last 60ms of it is blocking time.
|
|
* Total Blocking Time is the sum of all Blocking Time between First Contentful Paint and
|
|
* Interactive Time (TTI).
|
|
*
|
|
* This is a new metric designed to accompany Time to Interactive. TTI is strict and does not
|
|
* reflect incremental improvements to the site performance unless the improvement concerns the last
|
|
* long task. Total Blocking Time on the other hand is designed to be much more responsive
|
|
* to smaller improvements to main thread responsiveness.
|
|
*/
|
|
declare class TotalBlockingTime extends ComputedMetric {
|
|
/**
|
|
* @param {LH.Artifacts.MetricComputationData} data
|
|
* @param {LH.Artifacts.ComputedContext} context
|
|
* @return {Promise<LH.Artifacts.LanternMetric>}
|
|
*/
|
|
static computeSimulatedMetric(data: LH.Artifacts.MetricComputationData, context: LH.Artifacts.ComputedContext): Promise<LH.Artifacts.LanternMetric>;
|
|
}
|
|
import ComputedMetric from './metric.js';
|
|
//# sourceMappingURL=total-blocking-time.d.ts.map |