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

⚡️ Optimize image assets on homepage #4730

Merged
merged 4 commits into from
Feb 23, 2024
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Feb 23, 2024

Our current version of https://fast-check.dev/ is badly performing on https://www.websitecarbon.com/. It got an F for the homagepage but a good grade on others.

Most of the problem comes from our numerous images assets:

  • there are many of them to load
  • they are not optimized in size

The current PR is making sure we optimize them beforehand to deliver an optimized version of our assets.

Category:

  • ✨ Introduce new features
  • 📝 Add or update documentation
  • ✅ Add or update tests
  • 🐛 Fix a bug
  • 🏷️ Add or update types
  • ⚡️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

Sorry, something went wrong.

Our current version of https://fast-check.dev/ is badly performing on https://www.websitecarbon.com/. It got an F for the homagepage but a good grade on others.

Most of the problem comes from our numerous images assets:

- there are many of them to load
- they are not optimized in size

The current PR is making sure we optimize them beforehand to deliver an optimized version of our assets.
Copy link

codesandbox-ci bot commented Feb 23, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit bb742e7:

Sandbox Source
@fast-check/examples Configuration

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.57%. Comparing base (a939b92) to head (bb742e7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4730   +/-   ##
=======================================
  Coverage   93.57%   93.57%           
=======================================
  Files         207      207           
  Lines        5011     5011           
  Branches     1367     1366    -1     
=======================================
  Hits         4689     4689           
  Misses        322      322           
Flag Coverage Δ
unit-tests 93.57% <ø> (ø)
unit-tests-18.x-Linux 93.57% <ø> (ø)
unit-tests-20.x-Linux 93.57% <ø> (ø)
unit-tests-latest-Linux 93.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@dubzzz dubzzz enabled auto-merge (squash) February 23, 2024 08:38
@dubzzz dubzzz merged commit aa6e4de into main Feb 23, 2024
53 checks passed
@dubzzz dubzzz deleted the reduce-website-footprint branch February 23, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant