Skip to content

Conversation

@alexwizp
Copy link
Contributor

Backports the following commits to 7.x:

* [bundle optimization] fix imports of react-use lib

* add 2 more files

* add rule into eslintrc.js

Co-authored-by: Kibana Machine <[email protected]>
@alexwizp alexwizp added the backport This PR is a backport of another PR label Nov 10, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1275 1157 -118
home 207 79 -128
infra 1145 1036 -109
ingestManager 535 408 -127
lens 559 431 -128
logstash 189 61 -128
transform 337 209 -128
uptime 657 529 -128
visDefaultEditor 240 115 -125
visualize 205 78 -127
total -1246

Async chunks

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

id before after diff
apm 3.2MB 3.1MB -127.8KB
home 348.2KB 214.2KB -134.0KB
infra 2.6MB 2.5MB -87.9KB
ingestManager 1.2MB 1.1MB -133.6KB
lens 1.0MB 912.9KB -133.3KB
logstash 194.4KB 60.8KB -133.6KB
transform 1.1MB 1.0MB -133.9KB
uptime 1.1MB 983.1KB -134.0KB
visDefaultEditor 432.5KB 300.4KB -132.1KB
visualize 260.2KB 126.6KB -133.5KB
total -1.3MB

Distributable file count

id before after diff
default 43117 43114 -3

Page load bundle

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

id before after diff
home 20.9KB 20.9KB -1.0B
infra 174.2KB 174.0KB -151.0B
logstash 25.9KB 25.9KB -1.0B
transform 24.7KB 24.7KB -1.0B
uptime 25.2KB 25.1KB -65.0B
visualize 40.1KB 40.1KB -1.0B
total -220.0B
Unknown metric groups

async chunk count

id before after diff
infra 15 14 -1

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

@alexwizp alexwizp merged commit 6051264 into elastic:7.x Nov 10, 2020
@alexwizp alexwizp deleted the backport/7.x/pr-82847 branch January 16, 2021 15:27
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