I'm using the package xsim for writing exercises. The exercises are stored in external files and when I use several files, the latex compilation is slow. It is at least 3-4 minutes.
The exercises are grouped by themes, so at the moment I don't want to split the files. They are mathematics exercices, but I don't thinks Tikz slow the compilation.
xsim writes body files during the compilation. In my case about 480 were written (240 for the exercises and 240 for the solutions). It seems to be the problem. With time I will complete my sets of exercices, but it won't be possible to take so much time to compile. At the beginning I comment out some external files, but at the end I have to include them all and to do the last modifications. Do you know an option to speed up the compilation ?
Another option would be to use another package. Does somebody have experience with other packages to build databases of exercises ? Perhaps exercisebank would be a solution.