Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Performance

 
my deen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will the java tld file affects the performance while loading the data from DB(For Example 1000 Records)
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what the TLD file has to do with loading data from the database.
A good place to start when thinking about performance is our Performance FAQ
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking about *tag* performance?
 
my deen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, i am using tag library for loading the data in UI. Its taking around 8 to 10 mins to load 1000 records in the UI
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're showing a thousand records on a single page?!

In any case, it's tough to help without seeing the loop. Anything that loads a thousand records is going to generate a fair-sized chunk of HTML; depending on the HTML contents it could be browser-related. Have you tried with different browsers?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this was my problem I would do some timing tests of the database retrieval step without any rendering.

Bill
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34195
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And check the size of the generated page to see how long it would take to download over your internet connection.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic