AMICI icon indicating copy to clipboard operation
AMICI copied to clipboard

Speed up Python import of small models

Open dweindl opened this issue 3 years ago • 2 comments

Import time for small models is determined mostly by compiling and especially linking. Pretty sure there is room for improvement...

Potential starting points:

  • [ ] reduce swig interface
  • [ ] limiting symbol visibility

dweindl avatar Mar 09 '21 09:03 dweindl

From what I can tell it's primarily the compilation of individual model files. I think we can probably achieve more through

  • [ ] optimizer header linkage (
  • [ ] use ccache when possible
  • [ ] custom/reduced compiler/linker flags specific to model compilation

FFroehlich avatar Mar 16 '21 14:03 FFroehlich