Package com.ibm.icu.dev.test.perf
Class UnicodeSetPerf
java.lang.Object
com.ibm.icu.dev.test.perf.PerfTest
com.ibm.icu.dev.test.perf.UnicodeSetPerf
A class for testing UnicodeSet performance.
- Since:
- ICU 2.4
-
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) UnicodeSetIterator
(package private) String
(package private) UnicodeSet
(package private) UnicodeSet
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 -
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
Methods inherited from class com.ibm.icu.dev.test.perf.PerfTest
gc, getOptions, readDataLine, readLines, readToEOS, readToEOS, run
-
Field Details
-
pattern
String pattern -
testChars
UnicodeSet testChars -
it
-
us
UnicodeSet us -
hs
-
-
Constructor Details
-
UnicodeSetPerf
public UnicodeSetPerf()
-
-
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. -
testUnicodeSetAdd
PerfTest.Function testUnicodeSetAdd() -
testHashSetAdd
PerfTest.Function testHashSetAdd() -
testUnicodeSetContains
PerfTest.Function testUnicodeSetContains() -
testHashSetContains
PerfTest.Function testHashSetContains() -
testUnicodeSetIterate
PerfTest.Function testUnicodeSetIterate() -
testHashSetIterate
PerfTest.Function testHashSetIterate()
-