diff --git a/python/dune/perftool/compile.py b/python/dune/perftool/compile.py
index f7c8d75923c7b81786730f8473763302cce28969..edd87d4db4d9f1e5364b33219495c7982bf571cb 100644
--- a/python/dune/perftool/compile.py
+++ b/python/dune/perftool/compile.py
@@ -5,6 +5,10 @@ Should also contain the entrypoint methods.
 """
 from __future__ import absolute_import
 
+# Disable loopy caching before we do anything else!
+import loopy
+loopy.CACHING_ENABLED = False
+
 
 def read_ufl(uflfile):
     from ufl.algorithms.formfiles import read_ufl_file, interpret_ufl_namespace