I come from a research team which works on bugs in real-world applications.
I want to make a report about a potential performance improvement in your project.
In file lambda_track_expense.py, both detect_entities and detect_key_phrases APIs are applied to same input in a sequential way. However, cloud APIs do not compete local resources with each other. They could be called in parallel to save around 50% execution time.
Perhaps someone might be able to confirm if these seem reasonable. Also, if you need any help, I'm happy to provide some code snippet for fixing.
If you are not offended by it, we may include your response as a percentage number (e.g. xx% of applications faces xx problem, and xx% of them confirms it) in our research paper.
Hi,
I come from a research team which works on bugs in real-world applications.
I want to make a report about a potential performance improvement in your project.
In file
lambda_track_expense.py
, bothdetect_entities
anddetect_key_phrases
APIs are applied to same input in a sequential way. However, cloud APIs do not compete local resources with each other. They could be called in parallel to save around 50% execution time.Perhaps someone might be able to confirm if these seem reasonable. Also, if you need any help, I'm happy to provide some code snippet for fixing.
If you are not offended by it, we may include your response as a percentage number (e.g. xx% of applications faces xx problem, and xx% of them confirms it) in our research paper.
Thanks.