title: How do I find out how long a script took to run in the Firefox console?
body: <p>When I want to figure out how fast my JavaScript is I usually resort to <em>"estimating"</em> how fast it appears to be, this is extremely inefficient and most times I'm outright wrong.</p>
  
  <p>In Ubuntu when you want to tell how long a program took to run, you'd use the <code>time</code> command like this:</p>
  
  <pre><code>time script_name.py
  </code></pre>
  
  <p>The output would look like this:</p>
  
  <pre><code>program output....
  
  real    0m0.123s
  user    0m0.123s
  sys     0m0.123s
  </code></pre>
  
  <p>How can I get FireFox to show me similar information in the browser console?</p>
  
  <p><strong>NOTE:</strong> I'm using the latest version of FireFox &amp; Lubuntu 18.04 (LTS).</p>