question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: Compare different URLs

See original GitHub issue

Right 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&amp_optimizer=0&amp_ssr=0',
'http://localhost:8080/?amp=1&amp_optimizer=1&amp_ssr=0',
'http://localhost:8080/?amp=1&amp_optimizer=1&amp_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:open
  • Created 3 years ago
  • Reactions:1
  • Comments:14

github_iconTop GitHub Comments

7reactions
patrickhulcecommented, Jun 2, 2020

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.

3reactions
patrickhulcecommented, Aug 20, 2021

@lazysergey that situation is exactly what --urlReplacementPatterns is for.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compare URLs with our URL Comparison tool
Use the URL comparison to compare URLs. This tool not only compares URLs but also checks URL structure for data. Two different URLs...
Read more >
Feature Compare (Data Management)—ArcGIS Pro
ArcGIS geoprocessing tool that compares two feature classes or layers and returns the comparison results.
Read more >
Comparison Sites Tool, Compare two web pages instantly
How to Compare Two Web Pages? · Firstly, you will have to access this webpage by pasting the following URL in the address...
Read more >
Comparing two URLs to each other - Percy Docs
To compare two URLs to each other, we need to create two builds (one for each URL). Make sure the snapshot names do...
Read more >
DiffNow - Compare Files, URLs, and Clipboard Contents Online
Upload files, provide URLs, and paste clipboard contents to compare content online. Powered by ExamDiff Pro, the most powerful desktop file comparison tool....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found