-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Improve server_preboot
execution time
#109059
Comments
Pinging @elastic/kibana-core (Team:Core) |
After a quick research, I noticed this is the method where the preboot phase spends most of its time:
It's going through all the plugins and generating their valid config with the provided schema. Each plugin takes, on average, 100ms in this process, and Kibana currently boots up with 100+ plugins, so it multiplies. I think that the only possible action points here are to either:
|
@afharo did you test it in |
@mshustov you are right! It's taking longer to run
than to run
Well spotted. |
We did a lot of perf improvement on our whole startup time earlier this year, I think we can consider this one done. |
As a follow up to #108950 where we noticed that
server_setup
doubled its execution time in the past 30 days, affecting Kibana's total startup time, we now want to pay attention to any improvements we can apply toserver_preboot
to reduce the consistent 12s it takes to run:After #108950, Kibana's total startup time is primarily affected by this step (approx 2/3s of the total time is taken by this step). If we manage to reduce it, it will be a huge win overall.
The text was updated successfully, but these errors were encountered: