Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading Time Vs. Class size

 
sriram sundararajan
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I merged 3 classes into a single class, after i did that my page loading time was increased. Is there any relationship between the Loading time vs. Class size. If so How can i improve the performance, without breaking that huge class?

regards
sri
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wouldn't think this is your performance issue. Even if the class is pretty big it should load quite quickly. And it only has to load once. However, if you create many instances of it then it may consume quite a bit of memory.

What type of performance impacts are you seeing? Is it just at startup? Every time a method is called? Every time an instance is created?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic