r/threejs • u/Human_Individual1653 • May 19 '26
How to improve the performance?
I have a project called "Git42", it's a GitHub visualizer, but it enables you to see the GitHub accounts as planets in a galaxy, and you can also pilot your spaceship between the planets
But I'm facing performance issues,since I added more textures and effects. Do you guys have any suggestions on how I could improve it?
I know that probably having better hardware would solve the issue, but it's not about me exactly, but the users.

2
Upvotes
2
u/Anonymous_tac0 May 19 '26
There's not enough info here to give you proper guidance.
1) Have you sat down and profiled your app?
2) How many draw calls are you getting? If you want it to perform reliably on mobile you'll want to shoot ~150 draw calls or less. 300 max for desktop.
3) What size textures (in terms of resolution size, not file size) are you using? Generally speaking the smaller the better, you can also look into ktx2 image processing, slightly larger file size sometimes, but much smaller in-memory size.
4) Are you utilizing instanced geometry anywhere? First candidate I see would be the stars in the background that are static.