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

[7.x] [visTypeTimeseries] Reduce page load bundle to under 100kB #95873 (#97972) #98477

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

alexwizp
Copy link
Contributor

Backports the following commits to 7.x:

 (elastic#97972)

* [visTypeTimeseries] Reduce page load bundle to under 100kB elastic#95873

Closes: 95873

* ts-ignore -> ts-expect-error

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	packages/kbn-optimizer/limits.yml
@alexwizp alexwizp enabled auto-merge (squash) April 27, 2021 13:44
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
visTypeTimeseries 503 501 -2

Async chunks

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

id before after diff
visTypeTimeseries 1.6MB 1.7MB +96.1KB

Page load bundle

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

id before after diff
visTypeTimeseries 110.2KB 25.3KB -84.9KB
Unknown metric groups

async chunk count

id before after diff
visTypeTimeseries 11 12 +1

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

@timroes
Copy link
Contributor

timroes commented Apr 27, 2021

@elasticmachine run elasticsearch-ci/docs

@alexwizp alexwizp merged commit 3fd8cfb into elastic:7.x Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants