-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
startup speed option #241
Comments
It is hard to say anything without startup logs and a list of plugin/core versions |
where can I find the startup log? |
Sorry, missed the question. |
Curiously, https://github.com/jenkinsci/branch-api-plugin/blob/170e7717413ebaec6e7144fb35344b609fcebe1a/src/main/java/jenkins/branch/CustomOrganizationFolderDescriptor.java#L131-L139 is a major contributor. Likely it happens due to the execution before all extensions are cached. I could add a High-performance version of ExtensionFinder with caching, but it might be easier to just replace the entire plugin strategy implementation and event the PluginManager. |
I might have a patch submitted in a few days. After extension point optimization I was able to bring down the startup time from 4sec average to around 800ms in the Vanilla image. |
thanks for the info, I will try to use the new version. |
Hey @oleg-nenashev was this issue released ? was the run time able to be reduced? |
@bennymestel Right now it is rather an EPIc, not a single change to deliver. I am gradually improving the performance in Jenkinsfile Runner. There is a lot of other things to do, but the recent versions should be considerably better. If you see any particular issues, please report them separately so that we could tackle them. |
I run the below command and it's take ~11 sec till I see the output from the pipeline.
How can I reduce the start time of jenkinfile-runner ?
The text was updated successfully, but these errors were encountered: