1var width = 100, 2 perfData = window.performance.timing, // The PerformanceTiming interface represents timing-related performance information for the given page. 3 EstimatedTime = -(perfData.loadEventEnd - perfData.navigationStart), 4 time = parseInt((EstimatedTime/1000)%60)*100; 5 6// Percentage Increment Animation 7var PercentageID = $("#percent1"), 8 start = 0, 9 end = 100, 10 durataion = time; 11 animateValue(PercentageID, start, end, durataion); 12 13function animateValue(id, start, end, duration) { 14 15 var range = end - start, 16 current = start, 17 increment = end > start? 1 : -1, 18 stepTime = Math.abs(Math.floor(duration / range)), 19 obj = $(id); 20 21 var timer = setInterval(function() { 22 current += increment; 23 $(obj).text(current + "%"); 24 $("#bar1").css('width', current+"%"); 25 //obj.innerHTML = current; 26 if (current == end) { 27 clearInterval(timer); 28 } 29 }, stepTime); 30} 31 32// Fading Out Loadbar on Finised 33setTimeout(function(){ 34 $('.pre-loader').fadeOut(300); 35}, time);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.