Repository navigation
[FEATURE] FeatureFinderCentroided Performance - #4652
timosachsenberg merged 6 commits into
Conversation
Filter out spectra in FeatureFinderCentroided with ThresholdMower to reduce runtime
|
while looking at something completely unrelated I remembered that there is an even faster solution: |
|
Is there a difference? Maybe the threshold filter also takes care that associated float/string/int dataarrays are filtered |
|
One does not even load the 0 intensity data, so I agree there should be an advantage. |
|
Agree but we should check if the data arrays are also correctly filtered e.g. ion mobility |
|
Though for FFC it currently does not use them |
|
metadata is handled correctly AFAIKT. |
|
ok so the maximum of the range is: PositionType::maxPositive() |
| #include <OpenMS/FORMAT/MzQuantMLFile.h> | ||
| #include <OpenMS/METADATA/MSQuantifications.h> | ||
| #include <OpenMS/SYSTEM/File.h> | ||
| #include <OpenMS/FILTERING/TRANSFORMERS/ThresholdMower.h> |
There was a problem hiding this comment.
k will do in another PR - thanks
There was a problem hiding this comment.
Changed that on my fork. I don't know if I need to open another PR or if you can just reopen this one
There was a problem hiding this comment.
Thanks but I already pushed it to develop. So I guess its fine
As mentioned here: #4359, the FeatureFinderCentroided is too slow.
@cbielow gave me the original file from the issue.
Times before:
FeatureFinderCentroided took 02:06:33 h (wall), 02:06:26 h (CPU), 6.18 s (system), 02:06:20 h (user).Then I've implemented the idea of using ThresholdMover from the issue and:
Times afterwards:
FeatureFinderCentroided took 31:11 m (wall), 31:07 m (CPU), 4.42 s (system), 31:03 m (user).