custom-metrics
custom-metrics copied to clipboard
Custom metrics to use with WebPageTest agents
We had to disable the observer custom metric because it was interfering with the page rendering in some cases. Investigate how that interference happened and come up with a workaround...
The [sass.js](https://github.com/HTTPArchive/custom-metrics/blob/main/dist/sass.js#L205) custom metric fetches source SCSS files based on the `sourceMappingURL` declaration in stylesheet bodies. Also look for source map URLs declared in [`SourceMap`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap) headers for completeness.
Resolves \#1 This will expand it to include Drupal 7 and a little CMS called WordPress that might have a bit of traction. --- **Test websites**: - https://wordpress.org ? -...
The raw HTML (from response_body) uses relative URLs for images, for example "/static/img/logo.png", while calling .src on a document with a location, gives you absolute URLs, such as https://happymod.com/static/img/logo.png. Consequently,...
Resolves #146 - applied formatting (no other changes) to `css-variables.js` to trigger test results --- **Test websites**: - https://www.morgenpost.de/politik/article407241629/game-changer-fuer-die-ukraine-bahnt-sich-an-putin-droht.html
At the moment when the test results are too big for the comment we add this: > Webpage test results that are too big for a comment are available as...
On the custom metrics objects just storing the whole schema itself is a big volume of data. We could prune empty values that don't hold any meaningful value. For example,...