-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Labels
Team:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//performance
Description
Parent issue #95853
Core bundle size is critical for performance because it's loaded on every page and delays all other plugin initialization affecting perceived UI performance.
There are still lots of options to improve Core bundle size, just a few ideas:
- move
@kbn/stdtokbn-ui-shared-libraryMove more Kibana packages to UI shared deps #95894 - move
@elastic/safer-lodash-settokbn-ui-shared-libraryMove more Kibana packages to UI shared deps #95894 - remove
node-libs-browserfrom the build,- caused by nodejs
utilusageimport { inspect } from 'util'; - also by our implementation of
Sha256that usesBufferand requires the polyfill (~40kB):private _block: Buffer;
- caused by nodejs
- more aggressive lazy loading for UI components:
- fatal_errors
- overlays
- notifications
- investigate whether we can reduce the size of
cssbuilt-in bycss-loader
We don't aim to abide by the 100KB limit set for plugins. The limit bundle size value for Core should be investigated as a part of this issue.
Metadata
Metadata
Assignees
Labels
Team:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//performance