Issue 1009: bottleneck in spectral library viewer when attempting to access ion mobility values

issues
Status:open
Assigned To:Brian Pratt
Type:Defect
Area:Skyline
Priority:3
Milestone:4.3
Opened:2024-02-08 10:55 by Brian Pratt
Changed:2024-02-22 12:19 by Brian Pratt
Resolved:
Resolution:
Closed:
2024-02-08 10:55 Brian Pratt
Title»bottleneck in spectral library viewer when attempting to access ion mobility values
Assigned To»Brian Pratt
Type»Defect
Area»Skyline
Priority»3
In ViewLibraryDlg.InitializePeptides() there's a comment "Don't do this for peptides until we have performance issues worked out", but with the feature finding work, large small molecule libraries are common so the bottleneck reappears. And, ion mobility for peptides is increasingly common so this needs fixing anyway.

It seems to be spending a lot of time in Model.Lib.BiblioSpecLiteLibrary.GetRedundantSpectra - and a lot of that deciding which columns to use to pull ion mobility information. We should be able to cache the detected columns information, and also short circuit the whole thing by checking for ion mobilty type == 0.

2024-02-22 12:19 Brian Pratt
This is fixed in the Feature Finding branch