Package com.ibm.icu.dev.test.perf
Class ConverterPerformanceTest
- java.lang.Object
-
- com.ibm.icu.dev.test.perf.PerfTest
-
- com.ibm.icu.dev.test.perf.ConverterPerformanceTest
-
public class ConverterPerformanceTest 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) byte[]
encBuffer
(package private) char[]
unicodeBuffer
-
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 ConverterPerformanceTest()
-
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
TestCharsetDecoder()
(package private) PerfTest.Function
TestCharsetDecoderICU()
(package private) PerfTest.Function
TestCharsetEncoder()
(package private) PerfTest.Function
TestCharsetEncoderICU()
(package private) PerfTest.Function
TestFromUnicodeStream()
(package private) PerfTest.Function
TestToUnicodeStream()
-
Methods inherited from class com.ibm.icu.dev.test.perf.PerfTest
gc, getOptions, readDataLine, readLines, readToEOS, readToEOS, run
-
-
-
-
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.
-
TestFromUnicodeStream
PerfTest.Function TestFromUnicodeStream()
-
TestToUnicodeStream
PerfTest.Function TestToUnicodeStream()
-
TestCharsetDecoder
PerfTest.Function TestCharsetDecoder()
-
TestCharsetEncoder
PerfTest.Function TestCharsetEncoder()
-
TestCharsetDecoderICU
PerfTest.Function TestCharsetDecoderICU()
-
TestCharsetEncoderICU
PerfTest.Function TestCharsetEncoderICU()
-
-