1/** 2 * ui/shell/zonePerfReport.inline.js · localhost / ?debug=perf æå° zone boot 表 3 */ 4(function zonePerfReportInline() { 5 function report() { 6 if (typeof performance === 'undefined' || !performance.getEntriesByName) return; 7 var rows = []; 8 [1, 2, 3, 4].forEach(function (zone) { 9 var entries = performance.getEntriesByName('zone-' + zone + '-boot', 'measure'); 10 var last = entries[entries.length - 1]; 11 if (last) rows.push({ zone: zone, ms: Math.round(last.duration) }); 12 }); 13 if (rows.length) console.table(rows); 14 } 15 window.addEventListener('load', function () { 16 window.setTimeout(report, 1200); 17 }); 18})();
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.