The physics update period is currently set to 25ms. The UI should probably only update it's output at no less than 100ms to save on CPU. Additionally, the following optimizations should be made:
Cache the jQuery/bootstrap sliders/elements so you don't have to search for them each time would be good
Only changing the values if the values updated
It's possible that your refactor has fixed some of these already.
The physics update period is currently set to 25ms. The UI should probably only update it's output at no less than 100ms to save on CPU. Additionally, the following optimizations should be made:
It's possible that your refactor has fixed some of these already.