Home » apache-log4j-1.2.15 » org.apache » log4j » performance »

org.apache.log4j.performance

Classes:

ConcatVsArray   Measure difference in performance of string concatenation versus creating an anonymous string array.  code | html
ListVsVector   Compares the performance of looping through a list versus a Vector.  code | html
ListVsVector.Chain     code | html
Logging   Measure the performance of logging.  code | html
NOPWriter  

Extends Writer with methods that return immediately without doing anything. 

code | html
NewVsSetLen   This program compares the cost of creating a new StringBuffer and converting it to a String versus keeping the same StringBuffer, setting its size to zero and then converting it to String.  code | html
NotLogging   Measure the performance of evaluating whether to log or not to log, but not actually logging.  code | html
NullAppender   A bogus appender which calls the format method of its layout object but does not write the result anywhere.  code | html
SystemTime   Measures the time required to make a System.currentTimeMillis() and Thread.currentThread().getName() calls.  code | html