stevedlawrence opened a new pull request, #1608: URL: https://github.com/apache/daffodil/pull/1608
Instead of allocation a single Future for every parse/unparse done during the CLI performance command, this instead allocate creates one Future per performance thread. All files to parse are added to a ConcurrentLinkedQueue and the consumer Future read from this queue until empty. This also no longer stores the results of each parse/unparse run, instead just keeping tracking of the number of files processes and the average latency. This changes avoid allocations during the performance command. In testing, this does not seem to affect the performance results in any meaningful way, but it does reduce allocations which makes profiling a bit cleaner. DAFFODIL-3064 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
