MCPcopy Create free account
hub / github.com/ampproject/amphtml / getPerformance

Function getPerformance

test/unit/test-performance.js:1195–1198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1193 });
1194
1195 function getPerformance() {
1196 installPerformanceService(env.win);
1197 return Services.performanceFor(env.win);
1198 }
1199
1200 it('should not throw when layout-shift occurs before core services available', () => {
1201 // Fake the Performance API.

Callers 1

Calls 1

Tested by

no test coverage detected