lighthousebot icon indicating copy to clipboard operation
lighthousebot copied to clipboard

Comparison with a production url

Open durancristhian opened this issue 7 years ago • 2 comments

Hi! I found this amazing project and I started to use it a lot 😎 thank you so mucho for creating it.

My question is that if it's possible (somehow) to have one of these in the PR commment:

  1. The results of the production website and the stage deploy to compare
  2. The score's difference between a production url and the stage

Do you think that it's possible to have this information? To be clear, I'm not asking for a feature. I just want to know if someone else have faced this particular case where I'd like a PR to be "rejected" (ask for improvements) when the stage's score is worse than production's score (I know that I can set a flag, but that's fixed, I want to compare with my own implementation).

Hope I was clear enough! 😊

durancristhian avatar May 15 '18 11:05 durancristhian

Probably I can run the command twice, one with the stage's url and another one with the production url 🤔

In that case, due to the form that the results are presented, I wouldn't be able to differentiate which is which.

durancristhian avatar May 15 '18 11:05 durancristhian

Here to +1! I was just about to open an identical issue.

I love the Lighthouse bot but it would be awesome if I could pass an additional URL in the CLI to compare against a real benchmark. Ideally this would add two additional columns to the results table, making the columns:

  • New score
  • Old score (from new production URL parameter)
  • Change
    • Values would be + or - difference between new and old scores
  • Required threshold

daneden avatar Apr 06 '19 22:04 daneden