File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes log4j slow on solaris Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j slow on solaris" Watch "log4j slow on solaris" New topic

log4j slow on solaris

Mehul Sanghvi
Ranch Hand

Joined: Feb 04, 2002
Posts: 134

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

Windows XP: 2806 milliseconds
Solaris 9 : 109047 milliseconds

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

I agree. Here's the link:
subject: log4j slow on solaris
jQuery in Action, 3rd edition