ErtlFunctionalGroupsFinderPerformanceSnapshotApp
public ErtlFunctionalGroupsFinderPerformanceSnapshotApp(java.lang.String[] anArgs)
throws java.io.IOException
Instantiates and starts the application. It first loads all molecules from a given SD file into memory and then
distributes them equally on the given number of different threads to use. It measures the time it takes for all
threads to complete the extraction of functional groups using the ErtlFunctionalGroupsFinder. It exits the system
if an unexpected exception occurs that prevents the application from working, e.g. an IllegalArgumentException
(will be logged to a file, not printed on the console).
- Parameters:
anArgs
- the command line arguments, anArgs[0] must be the name of the SD file to load (must be located in
the same directory as the application's JAR file) and anArgs[1] must be the number of different threads to use
- Throws:
java.io.IOException
- if the constructor is unable to open a text file for logging occurred exceptions