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
I was able to see noticeable speedups in sonarr by adding this to my own dockerfile, hope it helps. -O=all is less safe than just --aot, so it may be better to avoid it in some cases. I've noticed it fails on a few of the core libraries (whereas --aot runs with no issues), but it just doesn't worry me that much because mono can fall back to JIT
# Run Ahead-of-time compilation on all DLLs and EXEs
# See http://www.mono-project.com/docs/advanced/aot/
# Note: Avoid using -O=all with *.dlls inside /opt/NzbDrone, can cause segfaults
RUN for i in /usr/lib/mono/*/mscorlib.dll; do mono --aot -O=all $i; done && \
for i in /usr/lib/mono/gac/*/*/*.dll; do mono --aot -O=all $i; done && \
mono --aot -O=all /opt/NzbDrone/NzbDrone.exe && \
for i in /opt/NzbDrone/*.dll; do mono --aot $i; done
The text was updated successfully, but these errors were encountered:
I was able to see noticeable speedups in sonarr by adding this to my own dockerfile, hope it helps.
-O=all
is less safe than just--aot
, so it may be better to avoid it in some cases. I've noticed it fails on a few of the core libraries (whereas--aot
runs with no issues), but it just doesn't worry me that much because mono can fall back to JITThe text was updated successfully, but these errors were encountered: