You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: remove unused should_profile and profile_log_likelihood_function
The profiling config option was always false and the method was never
overridden in any downstream project. Remove the dead code path from
SearchUpdater, NonLinearSearch, and Analysis.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: autofit/config/general.yaml
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,6 @@ parallel:
24
24
warn_environment_variables: true # If True, a warning is displayed when the search's number of CPU > 1 and enviromment variables related to threading are also > 1.
25
25
profiling:
26
26
parallel_profile: false # If True, the parallelization of the fit is profiled outputting a cPython graph.
27
-
should_profile: false # If True, the ``profile_log_likelihood_function()`` function of an analysis class is called throughout a model-fit, profiling run times.
28
27
repeats: 1# The number of repeat function calls used to measure run-times when profiling.
29
28
test:
30
29
check_likelihood_function: true # if True, when a search is resumed the likelihood of a previous sample is recalculated to ensure it is consistent with the previous run.
Copy file name to clipboardExpand all lines: test_autofit/config/general.yaml
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,6 @@ parallel:
21
21
warn_environment_variables: false # If True, a warning is displayed when the search's number of CPU > 1 and enviromment variables related to threading are also > 1.
22
22
profiling:
23
23
parallel_profile: false # If True, the parallelization of the fit is profiled outputting a cPython graph.
24
-
should_profile: false # If True, the ``profile_log_likelihood_function()`` function of an analysis class is called throughout a model-fit, profiling run times.
25
24
repeats: 1# The number of repeat function calls used to measure run-times when profiling.
26
25
test:
27
26
check_likelihood_function: false # if True, when a search is resumed the likelihood of a previous sample is recalculated to ensure it is consistent with the previous run.
0 commit comments