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

log4j slow on solaris

 
Mehul Sanghvi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have written a simple application which:
a) Looks for logger
b) create a logging object of 48k
c) In a for loop log the same object with debug method
d) I run loop for 1000000

Results:
Windows XP: 2806 milliseconds
Solaris 9 : 109047 milliseconds

Does anyone have any idea as to why does it run 4 times SLOWER on solaris??

Regards,
Mehul.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic