You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer/contributing/development-ci-metrics.asciidoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,12 @@ In addition to running our tests, CI collects metrics about the Kibana build. Th
15
15
[[ci-metric-types-bundle-size-metrics]]
16
16
==== Bundle size
17
17
18
-
These metrics help contributors know how they are impacting the size of the bundles Kibana creates, and help make sure that Kibana loads as fast as possible.
18
+
THESE METRICS HELP CONTRIBUTORS KNOW HOW THEY ARE IMPACTING THE SIZE OF THE BUNDLES KIBANA CREATES, AND HELP MAKE SURE THAT KIBANA LOADS AS FAST AS POSSIBLE.
The size of the entry file produced for each bundle/plugin. This file is always loaded on every page load, so it should be as small as possible. To reduce this metric you can put any code that isn't necessary on every page load behind an https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports[`async import()`].
22
22
+
23
-
Code that is shared statically with other plugins will contribute to the `page load bundle size` of that plugin. This includes exports from the `public/index.ts` file and any file referenced by the `extraPublicDirs` manifest property.
23
+
CODE THAT IS SHARED STATICALLY WITH OTHER PLUGINS WILL CONTRIBUTE TO THE `PAGE LOAD BUNDLE SIZE` OF THAT PLUGIN. THIS INCLUDES EXPORTS FROM THE `PUBLIC/INDEX.TS` FILE AND ANY FILE REFERENCED BY THE `EXTRAPUBLICDIRS` MANIFEST PROPERTY.
An "async chunk" is created for the files imported by each https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports[`async import()`] statement. This metric tracks the sum size of these chunks, in bytes, broken down by plugin/bundle id. You can think of this as the amount of code users will have to download if they access all the components/applications within a bundle.
@@ -39,7 +39,7 @@ The size of the Kibana distributable is an essential metric as it not only contr
39
39
40
40
There are several metrics that we don't report on PRs because gzip-compression produces different file sizes even when provided the same input, so this metric would regularly show changes even though PR authors hadn't made any relevant changes.
41
41
42
-
All metrics are collected from the `tar.gz` archive produced for the linux platform.
42
+
ALL METRICS ARE COLLECTED FROM THE `TAR.GZ` ARCHIVE PRODUCED FOR THE LINUX PLATFORM.
0 commit comments