title: Check load time of div
body: <p>I have a div which downloads content from an external resource and then displays it.</p>
  
  <p>How can I determine how long it takes to load this div ? </p>
  
  <p>I could use javascript to output the current timestamp before the div and after and then use the difference in time to discover the load time :</p>
  
  <p>pseudo code : </p>
  
  <pre><code>&lt;script&gt;
  console.log(currentTime)
  &lt;/script&gt;
  
  &lt;div&gt;
  load external resource
  &lt;/div&gt;
  
  &lt;script&gt;
  console.log(currentTime)
  &lt;/script&gt;
  </code></pre>
  
  <p>Should I use a tool like dynatrace ?</p>
  
  <p>This content is loaded synchronously. The content that is being loaded is javascript based.</p>