2 Jul 18:15
Re: Performance bug in XmiCasSerializer?
Greg, It doesn't look to me like you're doing anything wrong. I did a quick test to try to reproduce this but wasn't able to... I may need more information about your set up. I created a CPE with the FileSystemCollectionReader, PersonTitleAnnotator, and your XmiCasAnnotator. (I filled in the part about generating an identifier with something that checks the SourceDocumentInformation annotations put there by the FileSystemCollectionReader.) On a particular set of documents, with the CPE desriptor's processingUnitThreadCount set to 1 I get a total elapsed time of 9.25 seconds, whereas with the processingUnitThreadCount set to 10 I get a total elapsed time of 6.875 seconds. (This is on a dual-core machine.) A few questions come to mind: Are you using a CPE to do the multithreading or something else? If something else, do you see the same behavior if you try using a CPE instead? Does this only happen with large documents, and/or does it only happen when you have a lot of annotations in the CAS (I have very few in my test). Regards, -Adam On 6/29/07, greg@... <holmberg2066@...> wrote:(Continue reading)
RSS Feed