Create DLLs for the vendor modules #20749
Labels
enhancement
New value added to drive a business result
performance
Team:Operations
Team label for Operations Team
After dedicating some time understanding how we can kill/drastically reduce the optimizer, with the findings from this investigation available on #7322, we decided to get this step as the first one into the desired direction.
Tasks
node_modules
folder during our production build process.Goals
development
andproduction
.Results
The following results were obtained comparing a new build for
kibana
using the branch who implements the DLL work vs the current oficial release forkibana-6.4.0
when installing a simple plugin callednotification_center
in the distributable.All the mentioned times are a reference obtained running kibana in the following hardware:
The memory and file descriptors data were obtained using the following code (or the equivalent on webpack 4 in order to work into the dll branch):
(NOTE: the after-optimize-modules returns more than one time, so I'm using the absolute maximum found both for resident set mem usage and opened
file descriptors. This webpack hook seems quite good to measure those things because is called during the intermidiate steps of a compilation.)
Note: This tasks are being developed in the mistic/kibana#optimizer-spike-single-process-v3 branch and have resulted in the following opened PR #22618.
The text was updated successfully, but these errors were encountered: