Package com.ibm.icu.dev.test.perf
Class UCharacterPerf
java.lang.Object
com.ibm.icu.dev.test.perf.PerfTest
com.ibm.icu.dev.test.perf.UCharacterPerf
Base performance test that takes in a method name for testing with JDK.
To use
java com.ibm.icu.dev.test.perf.UCharacterPerf $MethodName $LoopCount -
$START_TEST_CHARACTER $END_TEST_CHARACTER
where $*_TEST_CHARACTER are in hex decimals with a leading 0x-
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 TypeFieldDescriptionprivate static int
Minimum codepoint to do test.private static int
Minimum codepoint to do test.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, 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 void
protected void
Framework method.(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
(package private) PerfTest.Function
Methods inherited from class com.ibm.icu.dev.test.perf.PerfTest
gc, getOptions, readDataLine, readLines, readToEOS, readToEOS, run
-
Field Details
-
MIN_
private static int MIN_Minimum codepoint to do test. Test is ran from MIN_ to MAX_ -
MAX_
private static int MAX_Minimum codepoint to do test. Test is ran from MIN_ to MAX_
-
-
Constructor Details
-
UCharacterPerf
public UCharacterPerf()
-
-
Method Details
-
main
- Throws:
Exception
-
setup
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. -
testDigit
PerfTest.Function testDigit() -
testJDKDigit
PerfTest.Function testJDKDigit() -
testGetNumericValue
PerfTest.Function testGetNumericValue() -
testJDKGetNumericValue
PerfTest.Function testJDKGetNumericValue() -
testGetType
PerfTest.Function testGetType() -
testJDKGetType
PerfTest.Function testJDKGetType() -
testIsDefined
PerfTest.Function testIsDefined() -
testJDKIsDefined
PerfTest.Function testJDKIsDefined() -
testIsDigit
PerfTest.Function testIsDigit() -
testJDKIsDigit
PerfTest.Function testJDKIsDigit() -
testIsIdentifierIgnorable
PerfTest.Function testIsIdentifierIgnorable() -
testJDKIsIdentifierIgnorable
PerfTest.Function testJDKIsIdentifierIgnorable() -
testIsISOControl
PerfTest.Function testIsISOControl() -
testJDKIsISOControl
PerfTest.Function testJDKIsISOControl() -
testIsLetter
PerfTest.Function testIsLetter() -
testJDKIsLetter
PerfTest.Function testJDKIsLetter() -
testIsLetterOrDigit
PerfTest.Function testIsLetterOrDigit() -
testJDKIsLetterOrDigit
PerfTest.Function testJDKIsLetterOrDigit() -
testIsLowerCase
PerfTest.Function testIsLowerCase() -
testJDKIsLowerCase
PerfTest.Function testJDKIsLowerCase() -
testIsSpaceChar
PerfTest.Function testIsSpaceChar() -
testJDKIsSpaceChar
PerfTest.Function testJDKIsSpaceChar() -
testIsTitleCase
PerfTest.Function testIsTitleCase() -
testJDKIsTitleCase
PerfTest.Function testJDKIsTitleCase() -
testIsUnicodeIdentifierPart
PerfTest.Function testIsUnicodeIdentifierPart() -
testJDKIsUnicodeIdentifierPart
PerfTest.Function testJDKIsUnicodeIdentifierPart() -
testIsUnicodeIdentifierStart
PerfTest.Function testIsUnicodeIdentifierStart() -
testJDKIsUnicodeIdentifierStart
PerfTest.Function testJDKIsUnicodeIdentifierStart() -
testIsUpperCase
PerfTest.Function testIsUpperCase() -
testJDKIsUpperCase
PerfTest.Function testJDKIsUpperCase() -
testIsWhiteSpace
PerfTest.Function testIsWhiteSpace() -
testJDKIsWhiteSpace
PerfTest.Function testJDKIsWhiteSpace()
-