Package com.ibm.icu.dev.test.perf
Class DateFormatPerformanceTest
- java.lang.Object
-
- com.ibm.icu.dev.test.perf.PerfTest
-
- com.ibm.icu.dev.test.perf.DateFormatPerformanceTest
-
public class DateFormatPerformanceTest extends PerfTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ibm.icu.dev.test.perf.PerfTest
PerfTest.BOMFreeReader, PerfTest.Function, PerfTest.TestCmdProvider, PerfTest.TestPrefixProvider, PerfTest.UsageException
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Date
date
private java.lang.String
dateString
private SimpleDateFormat[]
icuDateFormat
private java.text.SimpleDateFormat[]
jdkDateFormat
private java.lang.String
pattern
-
Fields inherited from class com.ibm.icu.dev.test.perf.PerfTest
action, ACTION, bulk_mode, BULK_MODE, doPriorGC, duration, DURATION, encoding, ENCODING, FILE_NAME, fileName, GARBAGE_COLLECT, HELP, iterations, ITERATIONS, line_mode, LINE_MODE, LIST, locale, LOCALE, OPTIONS, passes, PASSES, sourceDir, SOURCEDIR, TEST_NAME, testName, testProvider, threads, THREADS, time, TIME, uselen, USELEN, verbose, VERBOSE
-
-
Constructor Summary
Constructors Constructor Description DateFormatPerformanceTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
protected void
setup(java.lang.String[] args)
Framework method.(package private) PerfTest.Function
TestICUConstruction()
(package private) PerfTest.Function
TestICUFormat()
(package private) PerfTest.Function
TestICUParse()
(package private) PerfTest.Function
TestJDKConstruction()
(package private) PerfTest.Function
TestJDKFormat()
(package private) PerfTest.Function
TestJDKParse()
-
Methods inherited from class com.ibm.icu.dev.test.perf.PerfTest
gc, getOptions, readDataLine, readLines, readToEOS, readToEOS, run
-
-
-
-
Field Detail
-
pattern
private java.lang.String pattern
-
dateString
private java.lang.String dateString
-
date
private java.util.Date date
-
icuDateFormat
private SimpleDateFormat[] icuDateFormat
-
jdkDateFormat
private java.text.SimpleDateFormat[] jdkDateFormat
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setup
protected void setup(java.lang.String[] args)
Description copied from class:PerfTest
Framework method. Default implementation does not parse any extra arguments. Subclasses may override this to parse extra arguments. Subclass implementations should NOT call the base class implementation.
-
TestICUConstruction
PerfTest.Function TestICUConstruction()
-
TestJDKConstruction
PerfTest.Function TestJDKConstruction()
-
TestICUParse
PerfTest.Function TestICUParse()
-
TestJDKParse
PerfTest.Function TestJDKParse()
-
TestICUFormat
PerfTest.Function TestICUFormat()
-
TestJDKFormat
PerfTest.Function TestJDKFormat()
-
-