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

Performance problem #238

Closed
IRediTOTO opened this issue Feb 13, 2021 · 2 comments
Closed

Performance problem #238

IRediTOTO opened this issue Feb 13, 2021 · 2 comments

Comments

@IRediTOTO
Copy link

Hi, i really love to use this package. But when i use this performance will be slow down pretty much. Google speed soccer low down about 10 point. I must remove headless ui from my code and didn’t use animations in front end. I hope you have a solution for performance. Thank you.

@RobinMalfait
Copy link
Collaborator

Hey! Thank you for your issue!
Much appreciated! 🙏

I will need a bit more information from you, because when I do tests, for example a lighthouse score on this page (https://headlessui-react-git-multiple-components.tailwindlabs.vercel.app/menu/menu) I get a 94 performance out of the box without me doing anything special performance related.

My questions to you are:

  • What do you mean by "performance issue", only the points you get?
  • Do you see any performance issues while using this?
  • Are you sure it is related to this package, and eliminated other factors?
  • Are you doing these tests in development mode or production mode?
  • Can you create a reproduction repository that showcases the performance issues?

@IRediTOTO
Copy link
Author

Hi, thank you for replying me.

  1. yes, only points. The UI still smooth i think. But this relate to the SEO - the google points
  2. no i dont
  3. pretty sure, google soccers is ok if i remove the code of animation.
  4. i use in production, when google soccer down, i removed the animation codes.
  5. i think this hard, project must big enough. I will try again in next project.

In your example, its small so you will get high point. I will take some screenshot when i do next project. I would love simple animation but it should be supper small and run fast :D

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

No branches or pull requests

2 participants