title: How to obtain the execution time of a function in Julia?
body: <p>I want to obtain the execution time of a function in Julia. Here is a minimum working example:</p>
  
  <pre><code>function raise_to(n)
      for i in 1:n
          y = (1/7)^n
      end
  end
  </code></pre>
  
  <p>How to obtain the time it took to execute <code>raise_to(10)</code> ?</p>