GoogleChromeLabs / perf-track

Tracking framework performance and usage at scale
https://perf-track.web.app/
Apache License 2.0
150 stars 12 forks source link

Comparison for websites that don't use a JS framework #11

Open Nooshu opened 4 years ago

Nooshu commented 4 years ago

Is it possible to pull in data about websites that don't use any framework, and see what their web vitals looks like? Like setting a baseline to roughly compare against.

As with what is said on the 'about' page, it won't be possible to compare like for like, but may be an interesting data set.

housseindjirdeh commented 4 years ago

Great idea :)

So there's two potential options here:

  1. Add a section for all sites (entire dataset)
  2. Add a section for all sites that don't use a specific list of frameworks

Do you have a particular preference? Sounds like you're leaning towards number 2 and so am I. We wouldn't be able to objectively say no framework however, but at least provide data on all sites that don't use any of the most popular (React, Angular, Vue, Ember, AMP, Polymer)

Nooshu commented 4 years ago

Awesome!

Yes, I was thinking more option 2. Option 1 sounds like it would have so many edge cases it could easily become unmanageable.

jimmont commented 4 years ago

It would be useful to have very specific segment for vanillajs. For example my own domain I deliberately don't use any libraries and have this sort of dumb self-promotion animation with native Web Components that Lighthouse doesn't seem to know what to do with (or more likely I messed something up not waiting for an event). Anyway, this metric would be helpful as a specific segment to compare against relative to unknown resources. Perhaps like:

  1. unknowns bucket
  2. known n (eg React)
  3. known n+1 (eg Angular)
  4. known n+infinity vanillajs