Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bf-lu perf updates #554

Merged
merged 9 commits into from Feb 12, 2020
Merged

bf-lu perf updates #554

merged 9 commits into from Feb 12, 2020

Conversation

vishwacsena
Copy link
Contributor

Made bunch of fixes to improve perf for core bf-lu operations.

Notable example include large .lu files - e.g. email skill.lu
This multi-file convert now takes ~1,715ms .vs. 5,704ms, better by about 70%

time bin/run luis:convert --in emailskills.lu
real 0m1.715s [old: 0m5.704s]
user 0m2.056s . [old: 0m6.057s]
sys 0m0.179s [old: 0m0.182s]

The BF-LU tests now take ~89s .vs. ~129s, better by about 30%.

time npm run test
real 1m28.603s [old: 2m8.290s]
user 0m48.068s [old: 1m38.726s]
sys 0m2.266s [old: 0m3.117s]

Copy link
Member

@munozemilio munozemilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cil

@vishwacsena
Copy link
Contributor Author

@munozemilio updated. I also noticed that separating the qna from qna alterations causes all files to parsed twice which is expensive. We should probably have qnabuilder do both qnaList as well as qnaAlterations with a single parse.

Copy link
Member

@munozemilio munozemilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CIL

@munozemilio munozemilio merged commit da22fbe into master Feb 12, 2020
@munozemilio munozemilio deleted the vishwac/472 branch February 12, 2020 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants