perf
Class MeasurePerformance

java.lang.Object
  extended by perf.MeasurePerformance

public class MeasurePerformance
extends Object

Simple micro-benchmark for evaluating performance of various UUID generation techniques, including JDK's method as well as JUG's variants.

Notes: for name-based variant we will pass plain Strings, assuming this is the most common use case; even though it is possible to also pass raw byte arrays. JDK and Jug implementations have similar performance so this only changes relative speeds of name- vs time-based variants.

Since:
3.1

Constructor Summary
MeasurePerformance()
           
 
Method Summary
static void main(String[] args)
           
 void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasurePerformance

public MeasurePerformance()
                   throws IOException
Throws:
IOException
Method Detail

test

public void test()
          throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2011 FasterXML.com. All Rights Reserved.