# Break application into small peaces , will that help performance ?

**URL:** <https://forum.kirupa.com/t/break-application-into-small-peaces-will-that-help-performance/635025>\
**Category:** programming\
**Created:** [July 28, 2016, 5:16am UTC](https://forum.kirupa.com/t/break-application-into-small-peaces-will-that-help-performance/635025 "2016-07-28T05:16:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![moslem-shariat](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@moslem-shariat](https://forum.kirupa.com/u/moslem-shariat)\
**Post date:** [July 28, 2016, 5:16am UTC](https://forum.kirupa.com/t/break-application-into-small-peaces-will-that-help-performance/635025/1 "2016-07-28T05:16:25Z")

</div>

Hello guys  
I have an application , I’ve used Adobe animate CC , Lots of ane’s , greensock , lots of classes …  
And I have a very low fps and I’m really worried about performance !

If i break the app into small peaces , will that help ?  
Cause i might need to use some of the classes again , and the create an swf ,  
then load that into my main swf , I don’t know if thats the right thing  
to do ? what do you think ?

Thanks

---

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [July 28, 2016, 4:23pm UTC](https://forum.kirupa.com/t/break-application-into-small-peaces-will-that-help-performance/635025/2 "2016-07-28T16:23:00Z")

</div>

Small pieces will generally not help with performance. In fact, it can hurt it depending on what you’re doing - though usually not so much that it would be considered a bad idea. The payoffs of having maintainable, DRY code usually far outweighs any small performance impact it has (if any). Largely you want to ignore performance until it becomes a problem, then tackle the bottlenecks that are affecting you the most.

This is what you need to do: determine _what_ about your application is causing the poor performance. Often its not even code related, rather rendering. Then you would want to add some caching and other techniques to help speed that up. Here’s some reading material:

[http://www.adobe.com/devnet/flashplayer/performance.html](http://www.adobe.com/devnet/flashplayer/performance.html)
