java.lang.ObjectMeasure the performance of evaluating whether to log or not to log, but not actually logging.org.apache.log4j.performance.NotLogging
This program takes two arguments, a string which should be "true" for testing shipped code performance and "false" for testing debug-enabled performance the second argument is the run length of the measurement loops.
The results of the measurement (should) show that
Ceki - Gülcü| Field Summary | ||
|---|---|---|
| static int | runLength | |
| static final int | INITIAL_HASH_SIZE | |
| static String | SHORT_MSG | |
| static Category | SHORT_CAT | |
| static Category | MEDIUM_CAT | |
| static Category | LONG_CAT | |
| static Category | INEXISTENT_SHORT_CAT | |
| static Category | INEXISTENT_MEDIUM_CAT | |
| static Category | INEXISTENT_LONG_CAT | |
| static Category[] | CAT_ARRAY | |
| Method from org.apache.log4j.performance.NotLogging Summary: |
|---|
| ComplexMessage, FullyOptimizedComplexMessage, ProgramInit, SimpleMessage, Usage, main |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.log4j.performance.NotLogging Detail: |
|---|
|
|
|
|
|
|