title: How to calculate Fetching Time while fetching data from any Api in Ajax
body: <ol>
  <li><p>I just want to show the amount of data  fetched  from  Api.</p></li>
  <li><p>output should be like 10% fetched 90 % remaining  like that. </p></li>
  <li><p>I'm searching how should I calculate the amount the amount retreived and remaning  data left to be fetched.</p></li>
  <li>I have  been working on  basecamp api  It would  waste lots of time to fetch tasks , activities etc.
  So just want that I want to show time left  while fetching in Ajax .</li>
  </ol>
  
  <p>I have googled and found a link: <a href="https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest#Monitoring_progress" rel="nofollow">Monitoring_progress</a>
           but if any body could suggest to me where to start I would much appreciate.</p>