• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp page performance (redundant taglib)

 
Rajeev roushan sharma
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All, suppose we have some taglib tag defined in main page and again we define the same taglib in the included page, we can understand that it is redundant because it is already defined in the main page. I want to understand is there any performance issue ?

Thanks in advance!

regards,
rS
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any performance difference will be irrelevant.
 
Rajeev roushan sharma
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Any performance difference will be irrelevant.

My Question is "Whether there is any performance issue" ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Any performance difference will be irrelevant.
 
Stefan Evans
Bartender
Posts: 1822
10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe insignificant would be a better term than irrelevant?

The point Bear is trying to get across, is that the performance issue (if any exists at all) is so negligible that you wouldn't be able to tell the difference.

Rule #1 in optimizing: Don't Optimize.
Rule #2 (for experts only): Don't optimize yet.

Unless there is a performance issue with the page, I wouldn't focus on speeding it up.
And even then, I'm pretty sure there would be better things to target attention on (queries, data manipulation etc etc)


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!