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

fix: add cache for orchestrator build to reduce the re-build time #6373

Merged
merged 4 commits into from
Mar 11, 2021

Conversation

lei9444
Copy link
Contributor

@lei9444 lei9444 commented Mar 11, 2021

Description

issue
composer will do orchestrator build every time. some big bot may take 15min. It is a long time to wait even the lu files don't update.

fix
Add the cache of LabelResolvers for orchestrator build. the build worker will re-use the resolvers and reduce the re-training time.
In my local test, the first time will use 15min and the second only use 800ms.

Task Item

#minor

Screenshots

taicchoumsft
taicchoumsft previously approved these changes Mar 11, 2021
@srinaath srinaath added this to the R12 milestone Mar 11, 2021
@srinaath srinaath added the 1.4 label Mar 11, 2021
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 52.935% when pulling 74059a4 on lei9444:retraining into 8dc322d on microsoft:main.

@cwhitten cwhitten merged commit fadb7c5 into microsoft:main Mar 11, 2021
lei9444 added a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…crosoft#6373)

* fix: add cache for orchestrator build to reduce the re-build time

* fix unit tests

Co-authored-by: taicchoumsft <61705609+taicchoumsft@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants