Skip to content

[7.x] Improve migration perf (#99773)#100252

Merged
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-99773
May 18, 2021
Merged

[7.x] Improve migration perf (#99773)#100252
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-99773

Conversation

@mshustov
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* Do not clone state, use TypeCheck it's not mutated

* do not recreate context for every migration

* use more optional semver check

* update SavedObjectMigrationContext type

* add a test model returns new state object

* update docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@mshustov mshustov added the backport This PR is a backport of another PR label May 18, 2021
@mshustov mshustov enabled auto-merge (squash) May 18, 2021 08:59
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
dashboard 190 217 +27

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
dashboard 138.7KB 138.7KB +1.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
dashboard 313.2KB 324.9KB +11.8KB
Unknown metric groups

References to deprecated APIs

id before after diff
licensing 18 15 -3
monitoring 109 56 -53
total -56

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mshustov mshustov merged commit b66df95 into elastic:7.x May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants