org.apache.logging.log4j.perf.jmh
Class UuidGeneratorBenchmark

java.lang.Object
  extended by org.apache.logging.log4j.perf.jmh.UuidGeneratorBenchmark

public class UuidGeneratorBenchmark
extends Object

Compares random UUID generation with time-based UUID generation.


Constructor Summary
UuidGeneratorBenchmark()
           
 
Method Summary
 UUID base()
           
 UUID randomUUID()
           
 UUID timeBasedUUID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UuidGeneratorBenchmark

public UuidGeneratorBenchmark()
Method Detail

base

public UUID base()

randomUUID

public UUID randomUUID()

timeBasedUUID

public UUID timeBasedUUID()


Copyright c 1999-2014 Apache Software Foundation. All Rights Reserved. Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.