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
@ocots@PierreMartinon@joseph-gergaud As of today, we haven't taken into account precompilation (in the broad sense) issues. As a matter of fact, using OptimalControl is quite (very) long. Below some (very) interesting links pointed by @amontoison 🙏🏽🙏🏽🙏🏽 on the topic (profiling / improving performance when add(ing) (in the package manager) and using (within the package manager):
such scripts can be run ahead of using the package, preparing as much stuff as possible; of course, static types can be taken care of, not dynamic (dispatch...) ones ↩
Just tested CTDirect (not the whole OptimalControl) on 1.10.1 (linux mint)
I got a precompilation error from CTBase, however tests seem to run fine and almost twice faster than on 1.9 (45-50s vs 75-80s).
WARNING: Method definition apply_recipe(Base.AbstractDict{Symbol, Any}, CTBase.OptimalControlSolution, Union{Symbol, Tuple{Symbol, Integer}}, Union{Symbol, Tuple{Symbol, Integer}}) in module CTBase at /home/pierre/.julia/packages/RecipesBase/BRe07/src/RecipesBase.jl:296 overwritten on the same line (check for duplicate calls to include).
ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@ocots @PierreMartinon @joseph-gergaud As of today, we haven't taken into account precompilation (in the broad sense) issues. As a matter of fact,
using OptimalControlis quite (very) long. Below some (very) interesting links pointed by @amontoison 🙏🏽🙏🏽🙏🏽 on the topic (profiling / improving performance whenadd(ing)(in the package manager) andusing(within the package manager):SnoopCompile)Footnotes
such scripts can be run ahead of
usingthe package, preparing as much stuff as possible; of course, static types can be taken care of, not dynamic (dispatch...) ones ↩All reactions