Closed acesnik closed 4 years ago
It turns out this is from parsimony, rather than pruning. The LINQ command .First()
accounts for 40% of the computation during parsimony with lots of mods. I'm not sure how to fix that.
This looks like a hotspot https://github.com/smith-chem-wisc/MetaMorpheus/blob/master/EngineLayer/ProteinParsimony/ProteinParsimonyEngine.cs#L151
But it depends on the ordering in BestMatchingPeptides, and that's mystifying.
This was resolved somewhere along the road.
Here's the database to test and a diagnostic session for what I'm seeing. "\bison\share\Projects\Spritz\SlowParsimonyWithLotsOfMods"