问题
I have been building the application using the threejs now when i am trying to restart the scene multiple time there is the performance drop as per the forum Performance drops when trying to reset whole scene with Three.js i am deallocating all the __objects available inside my scene i am runing a loop and deleting my objects also by creating a custom unload function more over i am also clearing the time interval from request animation frame. But on each restart there is performance drop which i see on my chrome webkit FPS counter.
Few this i want to highlight: 1) I have used a Global variable. 2) I am deleting the variables which are not used dynamically. 3) location.reload is solving my problem but i dont want this solution
Please help me with this issue.
来源:https://stackoverflow.com/questions/18286450/performance-drop-on-multiple-restart-of-scene-from-threejs