jenkinsci / pipeline-graph-view-plugin

https://plugins.jenkins.io/pipeline-graph-view/
Other
109 stars 56 forks source link

Improve performance for large pipeline graphs #503

Closed johannesacco closed 2 months ago

johannesacco commented 2 months ago

Make sure that logs are activated before calling expensive function calls. Also use StringBuilder to format Strings. This will improve performance drastically (~10 s -> ~300 ms in one test scenario).

Testing done

Executed on a local installation.

Fixes #385

Submitter checklist

smaduel-dn commented 2 months ago

@timja - When will we have released version with this fix?

timja commented 2 months ago

https://github.com/jenkinsci/pipeline-graph-view-plugin/releases/tag/340.v28cecee8b_25f

johannesacco commented 2 months ago

Wow, that was fast, thanks!