Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporting #55

Open
TheJaredWilcurt opened this issue Jan 1, 2021 · 0 comments
Open

Reporting #55

TheJaredWilcurt opened this issue Jan 1, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed needs discussion
Projects

Comments

@TheJaredWilcurt
Copy link
Member

TheJaredWilcurt commented Jan 1, 2021

It would be possible to generate reports about what Red Perfume has found during optimization.

This issue is to gather ideas and have discussions around the topic. We can later create individual issues for each reporting feature in the correct repos.

ideas:

  • How much repetition was removed from identical property/value pairs:
    • padding-top: 2.1 rem; was found 214 times
    • padding-bottom: 2.1 rem; was found 107 times
    • etc, sorted by most found
  • Each HTML file could output a list of classes it found and replaced
    • index.html
      {
        'src/index.html': {
          original: [
            'example'
          ],
          atomized: [
            'rp__4',
            'rp__2a',
            'rp__2h'
          ]
        }
      }
    • This could then be used to show percent of total CSS used on a page. So if you have a homepage that only uses 2% of the total CSS, you may want to make a custom CSS file unique to it so the landing page loads faster. Or even just the "Above the fold" content.
  • A very simple input string length versus output string length to get file size difference and compression percent.
@TheJaredWilcurt TheJaredWilcurt added enhancement New feature or request help wanted Extra attention is needed needs discussion labels Jan 1, 2021
@TheJaredWilcurt TheJaredWilcurt added this to Backlog in Red Perfume Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed needs discussion
Projects
Status: Backlog
Red Perfume
  
Backlog
Development

No branches or pull requests

1 participant