This moves the meat of all the computed lantern metrics to lib/lantern/metrics, leaving behind just a ComputedArtifact wrapper and a conversion from Lighthouse data to Lantern data.
A change to note is that the Lantern metrics now do not directly call what they depend on, but instead are expected to be called with any dependent metric values they require. This change was made to remove caching of results (the purpose of Lighthouse's ComputedArtifact) from the library.
ref #15841
This moves the meat of all the computed lantern metrics to
lib/lantern/metrics
, leaving behind just a ComputedArtifact wrapper and a conversion from Lighthouse data to Lantern data.A change to note is that the Lantern metrics now do not directly call what they depend on, but instead are expected to be called with any dependent metric values they require. This change was made to remove caching of results (the purpose of Lighthouse's ComputedArtifact) from the library.