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

Positioner: reduce the size when bundled #1055

Open
skinread opened this issue Feb 26, 2025 · 1 comment
Open

Positioner: reduce the size when bundled #1055

skinread opened this issue Feb 26, 2025 · 1 comment
Labels
optimisation Change to improve efficiency or address performance

Comments

@skinread
Copy link
Member

skinread commented Feb 26, 2025

Currently the Positioner component, relying on popper.js, is adding significantly to the bundled size of Overdrive.

Expirment result

popper.js floating-ui
46.41KB / 18.04KB gzip 47.27KB / 12.58KB gzip Size
17.35% / 22.36% 17.61% / 14.04% Percent

MFE analysis
Image

@skinread skinread added the optimisation Change to improve efficiency or address performance label Feb 26, 2025
@skinread
Copy link
Member Author

Based on first-pass analysis, migrating from popper.js to floating-ui does not significantly impact bundle size. Further exploration needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimisation Change to improve efficiency or address performance
1 participant