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

feat: performance imporve in the browser #68

Open
cerjs opened this issue Apr 19, 2023 · 5 comments
Open

feat: performance imporve in the browser #68

cerjs opened this issue Apr 19, 2023 · 5 comments

Comments

@cerjs
Copy link

cerjs commented Apr 19, 2023

My server has ≈50 routers. The page is stuttering when I click router or excute request.

**environment

  • trpc-panel ^1.3.0
  • tRPC ^10.20.0
  • expressjs ^4.18.2
  • chrome 112
  • macOS 13.2
@cerjs cerjs changed the title feat: performace imporve in the browser feat: performance imporve in the browser Apr 19, 2023
@iway1
Copy link
Owner

iway1 commented Apr 19, 2023

thanks I'll try to reproduce this with a big router and see what I can do. How many procedures are there per router?

@cerjs
Copy link
Author

cerjs commented Apr 20, 2023

thanks I'll try to reproduce this with a big router and see what I can do. How many procedures are there per router?

1~5 procedures per router. Total ≈100 procedures

Thank you for your efforts!

@iway1
Copy link
Owner

iway1 commented Apr 23, 2023

Could you try out v1.3.1?

I made some improvements that should make the performance better, hoping it'll be a big enough difference to run smoothly on your machine.

If not, it seems like the hiding the side bar can speed up performance in cases where there are a huge number of routers, although I'm not really sure why.

@iway1
Copy link
Owner

iway1 commented Apr 25, 2023

let me know if you get a chance to test it and if it improved performance or not. If not I'll try some more stuff

@cerjs
Copy link
Author

cerjs commented Apr 26, 2023

let me know if you get a chance to test it and if it improved performance or not. If not I'll try some more stuff

Upgrade to latest 1.3.4. It feels better performance than ever.
But a little unresponsive. Maybe too many elements in the page. It is acceptable in my opinion.
Thanks for your fix.

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