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
-
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
FieldsModifier and TypeFieldDescription(package private) Number(package private) String(package private) DecimalFormat[](package private) DecimalFormat[](package private) StringFields 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, HELP1, HELP2, iterations, ITERATIONS, line_mode, LINE_MODE, LIST, locale, LOCALE, passes, PASSES, sourceDir, SOURCEDIR, TEST_NAME, testName, testProvider, threads, THREADS, time, TIME, uselen, USELEN, verbose, VERBOSE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprotected voidFramework method.(package private) PerfTest.Function(package private) PerfTest.Function(package private) PerfTest.Function(package private) PerfTest.Function(package private) PerfTest.Function(package private) PerfTest.FunctionMethods inherited from class com.ibm.icu.dev.test.perf.PerfTest
gc, getOptions, readDataLine, readLines, readToEOS, readToEOS, run
-
Field Details
-
pattern
String pattern -
decimalAsString
String decimalAsString -
decimalAsNumber
Number decimalAsNumber -
icuDecimalFormat
DecimalFormat[] icuDecimalFormat -
javaDecimalFormat
DecimalFormat[] javaDecimalFormat
-
-
Constructor Details
-
DecimalFormatPerformanceTest
public DecimalFormatPerformanceTest()
-
-
Method Details
-
main
- Throws:
Exception
-
setup
Description copied from class:PerfTestFramework 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()
-