_cpuTimes don't add up

HTTP Archive (WebPageTest) HAR files have “_cpu.*” times at the page level as well as the request (“entries”) level. I assumed the sum of the request-level _cpu times would equal the page _cpu times, but that’s not the case. In fact, in the example below, the sum is greater than the page _cpu times. Does anyone know what these fields represented and how the sum of request-level _cpu times could be greater than the page-level totals?

Here’s a specific example for “https://youtube.com/” from Oct 1 2018:

I grepped the relevant lines from the HAR file and appended them below for _cpu.EvaluateScript. For Run 1 the total for _cpuEvaluateScript is 725. The time from each script totals to 1375 (288 + 5 + 0 + 3 + 8 + 1 + 4 + 2 + 562 + 21 + 2 + 330 + 7 + 15 + 9 + 108 + 3 + 0 + 1 + 2 + 3 + 1).

Any idea how the total from the individual scripts could exceed the total for the page?

Thanks, Steve

Page-level:

“title”: “Run 1, First View for https://youtube.com/”,
“_cpu.EvaluateScript”: 725,

“title”: “Run 2, First View for https://youtube.com/”,
“_cpu.EvaluateScript”: 814,

“title”: “Run 3, First View for https://youtube.com/”,
“_cpu.EvaluateScript”: 677,

Entries (request) level:

“_cpu.EvaluateScript”: 288,
“_run”: 1,
“_full_url”: “https://www.youtube.com/”,

“_cpu.EvaluateScript”: 5,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/web-animations-next-lite.min-vflqEtsI7/web-animations-next-lite.min.js”,

“_cpu.EvaluateScript”: 0,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/htmlbin/desktop_polymer_sel_auto_svg_home-vflqDsC-x.html”,

“_cpu.EvaluateScript”: 3,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/scheduler-vflZDBPYi/scheduler.js”,

“_cpu.EvaluateScript”: 8,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-tampering-vflY1iMyc/www-tampering.js”,

“_cpu.EvaluateScript”: 1,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-prepopulator-vfl8hLntF/www-prepopulator.js”,

“_cpu.EvaluateScript”: 4,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/spf-vflhSOzLf/spf.js”,

“_cpu.EvaluateScript”: 2,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/network-vflNZTggj/network.js”,

“_cpu.EvaluateScript”: 562,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/desktop_polymer-vflS7pJAN/desktop_polymer.js”,

“_cpu.EvaluateScript”: 21,
“_run”: 1,
“_full_url”: “https://www.youtube.com/video_masthead?video_id=bJQZqM1E2Pg&textLine1=Introducing+Pixel+3&textLine2=Unboxing+the+new+Google+Pixel+3+with+your+favorite+stars&autocrop=0&autoplay_start_time=0&autoplay_duration=30000&channel_banner=1&video_wall=1&list=nKtcw5mIGUTrns2JeEmHHYq-S2FAevLc&subscribe_button=1&subscriber_count=1&site_cta=1&cta_label=Learn+more&layout=material&line_item_id=4570977571&creative_id=138247240392”,

“_cpu.EvaluateScript”: 2,
“_run”: 1,
“_full_url”: “https://www.youtube.com/iframe_api”,

“_cpu.EvaluateScript”: 330,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/video_masthead_embed_polymer-vflbDy0IS/video_masthead_embed_polymer.js”,

“_cpu.EvaluateScript”: 7,
“_run”: 1,
“_full_url”: “https://s.ytimg.com/yts/jsbin/www-widgetapi-vflY6gPjD/www-widgetapi.js”,

“_cpu.EvaluateScript”: 15,
“_run”: 1,
“_full_url”: “https://www.youtube.com/embed/?controls=0&enablejsapi=1&iv_load_policy=3&modestbranding=1&mute=1&nologo=1&rel=0&showinfo=0&wmode=transparent&widget_referrer=https%3A%2F%2Fpubads.g.doubleclick.net%2Fgampad%2Fads%3Fsz%3D850x250%26gdfp_req%3D1%26ad_rule%3D0%26iu%3D%2F4061%2Fcom.ythome%26impl%3Difr%26loeid%3D23757209%2C23771403%2C23761460%26scp%3Dssl%3D1%26dc_yt%3D1%26klg%3Den%26kmyd%3Dvideo-masthead%26ytdevice%3D1%26ytexp%3D9471235%2C23772169%2C23771403%2C9405970%2C&origin=https%3A%2F%2Fwww.youtube.com&widgetid=1”,

“_cpu.EvaluateScript”: 9,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-embed-player-vfl5FYN0G/www-embed-player.js”,

“_cpu.EvaluateScript”: 108,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/base.js”,

“_cpu.EvaluateScript”: 3,
“_run”: 1,
“_full_url”: “https://www.google.com/js/bg/dfD9zXZWxFiDhYhWq7JGeIab03YqAOfkkE7CNMbfLXw.js”,

“_cpu.EvaluateScript”: 0,
“_run”: 1,
“_full_url”: “https://static.doubleclick.net/instream/ad_status.js”,

“_cpu.EvaluateScript”: 1,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/captions.js”,

“_cpu.EvaluateScript”: 2,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/endscreen.js”,

“_cpu.EvaluateScript”: 3,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/annotations_module.js”,

“_cpu.EvaluateScript”: 1,
“_run”: 1,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/remote.js”,

“_cpu.EvaluateScript”: 277,
“_run”: 2,
“_full_url”: “https://www.youtube.com/”,

“_cpu.EvaluateScript”: 4,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/web-animations-next-lite.min-vflqEtsI7/web-animations-next-lite.min.js”,

“_cpu.EvaluateScript”: 0,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/htmlbin/desktop_polymer_sel_auto_svg_home-vflqDsC-x.html”,

“_cpu.EvaluateScript”: 5,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/scheduler-vflZDBPYi/scheduler.js”,

“_cpu.EvaluateScript”: 6,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-tampering-vflY1iMyc/www-tampering.js”,

“_cpu.EvaluateScript”: 1,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-prepopulator-vfl8hLntF/www-prepopulator.js”,

“_cpu.EvaluateScript”: 7,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/spf-vflhSOzLf/spf.js”,

“_cpu.EvaluateScript”: 10,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/network-vflNZTggj/network.js”,

“_cpu.EvaluateScript”: 581,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/desktop_polymer-vflS7pJAN/desktop_polymer.js”,

“_cpu.EvaluateScript”: 13,
“_run”: 2,
“_full_url”: “https://www.youtube.com/video_masthead?video_id=bJQZqM1E2Pg&textLine1=Introducing+Pixel+3&textLine2=Unboxing+the+new+Google+Pixel+3+with+your+favorite+stars&autocrop=0&autoplay_start_time=0&autoplay_duration=30000&channel_banner=1&video_wall=1&list=nKtcw5mIGUTrns2JeEmHHYq-S2FAevLc&subscribe_button=1&subscriber_count=1&site_cta=1&cta_label=Learn+more&layout=material&line_item_id=4570977571&creative_id=138247240392”,

“_cpu.EvaluateScript”: 2,
“_run”: 2,
“_full_url”: “https://www.youtube.com/iframe_api”,

“_cpu.EvaluateScript”: 276,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/video_masthead_embed_polymer-vflbDy0IS/video_masthead_embed_polymer.js”,

“_cpu.EvaluateScript”: 5,
“_run”: 2,
“_full_url”: “https://s.ytimg.com/yts/jsbin/www-widgetapi-vflY6gPjD/www-widgetapi.js”,

“_cpu.EvaluateScript”: 14,
“_run”: 2,
“_full_url”: “https://www.youtube.com/embed/?controls=0&enablejsapi=1&iv_load_policy=3&modestbranding=1&mute=1&nologo=1&rel=0&showinfo=0&wmode=transparent&widget_referrer=https%3A%2F%2Fpubads.g.doubleclick.net%2Fgampad%2Fads%3Fsz%3D850x250%26gdfp_req%3D1%26ad_rule%3D0%26iu%3D%2F4061%2Fcom.ythome%26impl%3Difr%26loeid%3D23761460%2C23757209%2C23771404%26scp%3Dssl%3D1%26dc_yt%3D1%26klg%3Den%26kmyd%3Dvideo-masthead%26ytdevice%3D1%26ytexp%3D23768642%2C9471235%2C23748182%2C9405991%2C&origin=https%3A%2F%2Fwww.youtube.com&widgetid=1”,

“_cpu.EvaluateScript”: 8,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-embed-player-vfl5FYN0G/www-embed-player.js”,

“_cpu.EvaluateScript”: 62,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/base.js”,

“_cpu.EvaluateScript”: 4,
“_run”: 2,
“_full_url”: “https://www.google.com/js/bg/dfD9zXZWxFiDhYhWq7JGeIab03YqAOfkkE7CNMbfLXw.js”,

“_cpu.EvaluateScript”: 0,
“_run”: 2,
“_full_url”: “https://static.doubleclick.net/instream/ad_status.js”,

“_cpu.EvaluateScript”: 2,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/captions.js”,

“_cpu.EvaluateScript”: 3,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/endscreen.js”,

“_cpu.EvaluateScript”: 5,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/annotations_module.js”,

“_cpu.EvaluateScript”: 30,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/player_ias-vflaEDXVF/en_US/base.js”,

“_cpu.EvaluateScript”: 3,
“_run”: 2,
“_full_url”: “https://www.youtube.com/yts/jsbin/player_ias-vflaEDXVF/en_US/remote.js”,

“_cpu.EvaluateScript”: 250,
“_run”: 3,
“_full_url”: “https://www.youtube.com/”,

“_cpu.EvaluateScript”: 6,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/web-animations-next-lite.min-vflqEtsI7/web-animations-next-lite.min.js”,

“_cpu.EvaluateScript”: 0,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/htmlbin/desktop_polymer_sel_auto_svg_home-vflqDsC-x.html”,

“_cpu.EvaluateScript”: 2,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/scheduler-vflZDBPYi/scheduler.js”,

“_cpu.EvaluateScript”: 3,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/spf-vflhSOzLf/spf.js”,

“_cpu.EvaluateScript”: 2,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/network-vflNZTggj/network.js”,

“_cpu.EvaluateScript”: 304,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/desktop_polymer-vflS7pJAN/desktop_polymer.js”,

“_cpu.EvaluateScript”: 3,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-tampering-vflY1iMyc/www-tampering.js”,

“_cpu.EvaluateScript”: 0,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-prepopulator-vfl8hLntF/www-prepopulator.js”,

“_cpu.EvaluateScript”: 13,
“_run”: 3,
“_full_url”: “https://www.youtube.com/video_masthead?video_id=bJQZqM1E2Pg&textLine1=Introducing+Pixel+3&textLine2=Unboxing+the+new+Google+Pixel+3+with+your+favorite+stars&autocrop=0&autoplay_start_time=0&autoplay_duration=30000&channel_banner=1&video_wall=1&list=nKtcw5mIGUTrns2JeEmHHYq-S2FAevLc&subscribe_button=1&subscriber_count=1&site_cta=1&cta_label=Learn+more&layout=material&line_item_id=4570977571&creative_id=138247240392”,

“_cpu.EvaluateScript”: 1,
“_run”: 3,
“_full_url”: “https://www.youtube.com/iframe_api”,

“_cpu.EvaluateScript”: 401,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/video_masthead_embed_polymer-vflbDy0IS/video_masthead_embed_polymer.js”,

“_cpu.EvaluateScript”: 6,
“_run”: 3,
“_full_url”: “https://s.ytimg.com/yts/jsbin/www-widgetapi-vflY6gPjD/www-widgetapi.js”,

“_cpu.EvaluateScript”: 17,
“_run”: 3,
“_full_url”: “https://www.youtube.com/embed/?controls=0&enablejsapi=1&iv_load_policy=3&modestbranding=1&mute=1&nologo=1&rel=0&showinfo=0&wmode=transparent&widget_referrer=https%3A%2F%2Fpubads.g.doubleclick.net%2Fgampad%2Fads%3Fsz%3D850x250%26gdfp_req%3D1%26ad_rule%3D0%26iu%3D%2F4061%2Fcom.ythome%26impl%3Difr%26loeid%3D23761460%2C23772013%2C23757209%26scp%3Dssl%3D1%26dc_yt%3D1%26klg%3Den%26kmyd%3Dvideo-masthead%26ytdevice%3D1%26ytexp%3D9471235%2C23771654%2C23764546%2C23763475&origin=https%3A%2F%2Fwww.youtube.com&widgetid=1”,

“_cpu.EvaluateScript”: 9,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/www-embed-player-vfl5FYN0G/www-embed-player.js”,

“_cpu.EvaluateScript”: 65,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/base.js”,

“_cpu.EvaluateScript”: 2,
“_run”: 3,
“_full_url”: “https://www.google.com/js/bg/dfD9zXZWxFiDhYhWq7JGeIab03YqAOfkkE7CNMbfLXw.js”,

“_cpu.EvaluateScript”: 0,
“_run”: 3,
“_full_url”: “https://static.doubleclick.net/instream/ad_status.js”,

“_cpu.EvaluateScript”: 1,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/captions.js”,

“_cpu.EvaluateScript”: 1,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/endscreen.js”,

“_cpu.EvaluateScript”: 4,
“_run”: 3,
“_full_url”: “https://www.youtube.com/yts/jsbin/player-vflATXXzL/en_US/annotations_module.js”,

1 Like