Skip to content

[master] Improve performance by avoiding quadratic behavour in web_saveDataSet

Chris Burr requested to merge cburr/LHCbWebDIRAC:bk-save-perf into master

As strings are immutable in Python this method has quadratic runtime performance and becomes unusable with more than ~5,000 LFNs due to the wasted time on copying strings. By using a list and concatenating them once this can handle about 80,000 LFNs per second.

BEGINRELEASENOTES

*BookkeepingBrowser FIX: Significantly improve performance in web_saveDataSet

ENDRELEASENOTES

Edited by Chris Burr

Merge request reports