Feature: Compare different URLs
See original GitHub issueRight now, the UI for the LHCI server allows comparisons only for the same URL across different commits.
I’m currently working on the AMP for WordPress plugin, and we have a different use case.
We have different subsystems where we want to measure the impact, and for doing so we have URL arguments to toggle them on and off. This is done because LHCI server only allows for a single report per URL on a given commit hash, so using different URLs for different variations of the same version of the code makes sense.
Example URLs:
'http://localhost:8080/',
'http://localhost:8080/?amp=1&_optimizer=0&_ssr=0',
'http://localhost:8080/?amp=1&_optimizer=1&_ssr=0',
'http://localhost:8080/?amp=1&_optimizer=1&_ssr=1',
The UI on the LHCI server does not allow us to see diffs from one URL to the other (whether that’d be on the same commit or a different one). It only allows for comparisons in time (different commits for the same location), but we’d also need comparisons across locations
Sticking to the same commit in that case would already be enough for our purpose, in case making both dimensions flexible at the same time proves difficult in terms of UX.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:14
Thanks for filing @schlessera! I like this feature request as a generic run comparison view where any URL from any build could be compared with any other.
@lazysergey that situation is exactly what
--urlReplacementPatterns
is for.