Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speedier gptmd again #2448

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

trishorts
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.90%. Comparing base (e6cf8e7) to head (e347f26).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2448   +/-   ##
=======================================
  Coverage   93.89%   93.90%           
=======================================
  Files         146      146           
  Lines       22206    22218   +12     
  Branches     3059     3061    +2     
=======================================
+ Hits        20851    20863   +12     
  Misses        906      906           
  Partials      449      449           
Files with missing lines Coverage Δ
MetaMorpheus/EngineLayer/Gptmd/GptmdEngine.cs 97.10% <100.00%> (+0.17%) ⬆️

@@ -76,6 +75,7 @@ protected override MetaMorpheusEngineResults RunSpecific()
}
Parallel.ForEach(Partitioner.Create(0, psms.Count), new ParallelOptions() { MaxDegreeOfParallelism = maxThreadsPerFile }, (range) =>
{
var modDict = new ConcurrentDictionary<string, ConcurrentBag<Tuple<int, Modification>>>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't need to be concurrent, as it is created inside the parallel loop, i.e., one per thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants