play-co / timestep

GNU General Public License v3.0
16 stars 27 forks source link

Try/Catch blocks causing performance drops #57

Closed lunarraid closed 9 years ago

lunarraid commented 9 years ago

Each render of display object containers and their children are wrapped with try/catch blocks, as is the main image render function. These blocks cause noticeable performance loss in rendering on the canvas renderer. Alternate ways of error handling could be pursued to remove these and increase rendering performance.

lunarraid commented 9 years ago

Removed some of the worst offenders in https://github.com/gameclosure/timestep/pull/64.