org.apache.uima.test.junit_extension
Interface PerformanceTestResult

All Known Implementing Classes:
PerformanceTestResultImpl

public interface PerformanceTestResult

PerformanceTestResult interfance contains all the methods to access the performance test results.


Method Summary
 TimeSpan getAeCleanupTime()
           
 java.lang.String getAeDescFilePath()
           
 TimeSpan getAeInitTime()
           
 TimeSpan getAeProcessingTime()
           
 TimeSpan getAeWarmupTime()
           
 TimeSpan getDocumentPreparationTime()
           
 TimeSpan getFileIoTime()
           
 int getNumberOfCreatedAnnotations()
           
 int getNumberOfProcessedCharacters()
           
 int getNumberOfProcessedFiles()
           
 int getNumberOfRepeatedRuns()
           
 TimeSpan getOverallTime()
           
 long getProcessedFileSize()
           
 java.lang.String getTestFileDirectoryPath()
           
 java.lang.String getUIMADatapath()
           
 boolean isDoAeWarmup()
           
 boolean isRepeatSingleMode()
           
 void writePerfResultsAsColumn(java.lang.String level, java.io.File file)
          write performance results as colum.
 

Method Detail

getNumberOfProcessedCharacters

int getNumberOfProcessedCharacters()
Returns:
Returns the number of processed characters.

getNumberOfProcessedFiles

int getNumberOfProcessedFiles()
Returns:
Returns the number of processed files.

getUIMADatapath

java.lang.String getUIMADatapath()
Returns:
Returns the UIMA datapath setting used for the performance test.

getAeInitTime

TimeSpan getAeInitTime()
Returns:
Returns the analysis engine initialization time.

getFileIoTime

TimeSpan getFileIoTime()
Returns:
Returns the file I/O time.

getNumberOfCreatedAnnotations

int getNumberOfCreatedAnnotations()
Returns:
Returns the number of created annotations.

getNumberOfRepeatedRuns

int getNumberOfRepeatedRuns()
Returns:
Returns the setting for the number of repeated runs.

getOverallTime

TimeSpan getOverallTime()
Returns:
Returns the overall time of the performance run

getAeProcessingTime

TimeSpan getAeProcessingTime()
Returns:
Returns the analysis engine processing time.

isRepeatSingleMode

boolean isRepeatSingleMode()
Returns:
Returns the setting of the repeat mode mode.

getAeDescFilePath

java.lang.String getAeDescFilePath()
Returns:
Returns the analysis engine descriptor file path.

getTestFileDirectoryPath

java.lang.String getTestFileDirectoryPath()
Returns:
Returns the test file directory used for the performance run.

getAeWarmupTime

TimeSpan getAeWarmupTime()
Returns:
Returns the analysis engine warmup time.

isDoAeWarmup

boolean isDoAeWarmup()
Returns:
Returns the setting the the analysis engine warmup.

writePerfResultsAsColumn

void writePerfResultsAsColumn(java.lang.String level,
                              java.io.File file)
                              throws java.lang.Exception
write performance results as colum.

Parameters:
level - Test level name of the performance test
file - Output file where the results are written to
Throws:
java.lang.Exception

getAeCleanupTime

TimeSpan getAeCleanupTime()
Returns:
Returns the analysis engine cleanup time.

getDocumentPreparationTime

TimeSpan getDocumentPreparationTime()
Returns:
Returns the document preparation time.

getProcessedFileSize

long getProcessedFileSize()
Returns:
Returns the processed file collection size.


Copyright © 2013. All Rights Reserved.