diff --git a/profiling/test.jl b/profiling/test.jl
index cdb378af883f1daec6287794c049dde9b9ce8d05..467ae0386510ea4a93bc7529e15621c030e30598 100644
--- a/profiling/test.jl
+++ b/profiling/test.jl
@@ -4,8 +4,8 @@ using Random
 function f()
   lst = rand(50000)
   for i in lst
-    s = "List entry $(i)\r" # The \r makes it so the terminal isn't filled
     if i > 0.99
+      s = "List entry $(i)\r"
       print(s)
     end
   end