vineetsk1 / EteRNA-3D-Public

The repository containing public information about the 3D game. Made for issue tracking mostly.
2 stars 0 forks source link

Performance Issues: Bug #16

Closed vineetsk1 closed 10 years ago

vineetsk1 commented 10 years ago

Performance issues with Eterna 3D Windows 7, Google Chrome

Performance of 3D puzzles works quite well at first. However, upon repeated additions of motifs and undoing the addition of those motifs, the performance of the puzzles gradually reaches the point where the puzzle is no longer responsive even to the addition of motifs. Makes trial by error difficult, since the puzzle needs to be reloaded after a certain amount of time to be playable.

vineetsk1 commented 10 years ago

performance greatly increases by removing collision spheres for selection details... (1116->96 children).

in the mean time test using Three#Object3D as group to add instead of direct scene.

this doesn't explain why game gradually becomes laggy even when adding and removing all.. memory leak?

vineetsk1 commented 10 years ago

garbage collection not working? or maybe just using tools wrong:

timeline_3_notes timeline_4_notes

vineetsk1 commented 10 years ago

Potentially Useful: http://stackoverflow.com/questions/25169853/threejs-web-app-add-remove-gradual-lag (dispose())

vineetsk1 commented 10 years ago

according to http://stackoverflow.com/questions/22565737/cleanup-threejs-scene-leak it might just be because of several calls of render & animate... preliminary tests show this fix works, so closing. -.-