*
The moose likes Performance and the fly likes Loading Time Vs. Class size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Loading Time Vs. Class size" Watch "Loading Time Vs. Class size" New topic
Author

Loading Time Vs. Class size

sriram sundararajan
Ranch Hand

Joined: Apr 08, 2003
Posts: 43
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

Joined: Jun 26, 2002
Posts: 852
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?


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading Time Vs. Class size
 
Similar Threads
Hibernate - lazy vs. eager loading
Loadin class VS Storing it in HashMap and taking it back for further use
Mappings vs Annotations
String vs Object
Static Vs Dynamic class loading