Skip to content

Commit

Permalink
Address recent performance regression
Browse files Browse the repository at this point in the history
Reported in the schrodigner bug tracker as SHARED-7789

Our performance monitoring tests noticed that coordgen got about
10x slower after PR schrodinger#81. I guess the inner loop of minimization
must be hitting the max pretty frequently! We should address
that too.

(this doubles the max iterations from before schrodinger#81, but that's ok
because schrodinger#81 halved the calls to this function)
  • Loading branch information
d-b-w committed Apr 8, 2021
1 parent 82914c5 commit bf49746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoordgenMinimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static const unsigned int MAXIMUM_NUMBER_OF_SCORED_SOLUTIONS = 10000;
static const float REJECTED_SOLUTION_SCORE = 99999999.f;
CoordgenMinimizer::CoordgenMinimizer()
{
m_maxIterations = 10000;
m_maxIterations = 1000;
skipMinimization = false;
skipFlipFragments = false;
skipAvoidClashes = false;
Expand Down

0 comments on commit bf49746

Please sign in to comment.