org.mmbase.util.logging
Class Performance

java.lang.Object
  extended by org.mmbase.util.logging.Performance

public class Performance
extends Object

This program is meant to show the performance of the org.mmbase.util.logging classes. You can also easily check the performance of a configuration with it. Simply feed it the configuration file, and it will try to log (info priority) to the class A0123456789.B0123456789.C0123456789. It has several other command line options (starting with -).


Field Summary
(package private) static int burstLen
           
(package private) static boolean delay
           
(package private) static int delaytime
           
(package private) static String description
           
(package private) static boolean isdebugenabled
           
(package private) static boolean log4j
           
(package private) static boolean nosystem
           
(package private) static int repeats
           
(package private) static double SECOND
           
(package private) static int warmingup
           
 
Constructor Summary
Performance()
           
 
Method Summary
(package private) static double Case(String configuration)
           
(package private) static double doCase(Logger log)
           
(package private) static double doCaseDelayed(Logger log)
           
(package private) static double doCaseIfDebug(Logger log)
           
(package private) static double doCaseLog4j(String s)
           
(package private) static double doCaseNoSystem()
           
static void main(String[] args)
           
(package private) static void printCase(String configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECOND

static final double SECOND
See Also:
Constant Field Values

repeats

static int repeats

isdebugenabled

static boolean isdebugenabled

nosystem

static boolean nosystem

log4j

static boolean log4j

description

static String description

delay

static boolean delay

delaytime

static int delaytime

burstLen

static int burstLen

warmingup

static int warmingup
Constructor Detail

Performance

public Performance()
Method Detail

doCaseLog4j

static double doCaseLog4j(String s)

doCaseNoSystem

static double doCaseNoSystem()

doCase

static double doCase(Logger log)

doCaseDelayed

static double doCaseDelayed(Logger log)

doCaseIfDebug

static double doCaseIfDebug(Logger log)

Case

static double Case(String configuration)

printCase

static void printCase(String configuration)

main

public static void main(String[] args)


MMBase 2.0-SNAPSHOT - null