Package com.ibm.icu.dev.test.perf
Class DecimalFormatPerformanceTest
- java.lang.Object
-
- com.ibm.icu.dev.test.perf.PerfTest
-
- com.ibm.icu.dev.test.perf.DecimalFormatPerformanceTest
-
public class DecimalFormatPerformanceTest 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 (package private) java.lang.Number
decimalAsNumber
(package private) java.lang.String
decimalAsString
(package private) DecimalFormat[]
icuDecimalFormat
(package private) java.text.DecimalFormat[]
javaDecimalFormat
(package 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 DecimalFormatPerformanceTest()
-
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
java.lang.String pattern
-
decimalAsString
java.lang.String decimalAsString
-
decimalAsNumber
java.lang.Number decimalAsNumber
-
icuDecimalFormat
DecimalFormat[] icuDecimalFormat
-
javaDecimalFormat
java.text.DecimalFormat[] javaDecimalFormat
-
-
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()
-
-