-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Improve performance of lib during initialization phase #2045
Conversation
Btw, is the performance still good with the requested changes @mihalikv ? |
Needs to be rebased but this is a good change |
Yeah it looks good. |
Description
If I have following page:
htmx on load will init all of the links on the page. However, it's necessary to init htmx only on one link inside hx-boost wrapper. This can result in poor performance on pages with lot of "plain" links.
Performance on page with 1K links (6 x slowdown):
Before:
After:
Testing
I have test the performance and simple boosted link.
Checklist
master
for website changes,dev
forsource changes)
approved via an issue - I hope that it's bugfix
npm run test
) and verified that it succeeded