trpc-panel
trpc-panel copied to clipboard
feat: performance imporve in the browser
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
thanks I'll try to reproduce this with a big router and see what I can do. How many procedures are there per router?
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!
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.
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
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.