{"id":261719,"date":"2021-05-28T20:48:35","date_gmt":"2021-05-28T17:48:35","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/a-new-javascript-compiler-aims-to-improve-chromes-overall-speed-review-geek\/"},"modified":"2021-05-28T20:48:35","modified_gmt":"2021-05-28T17:48:35","slug":"a-new-javascript-compiler-aims-to-improve-chromes-overall-speed-review-geek","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/a-new-javascript-compiler-aims-to-improve-chromes-overall-speed-review-geek\/","title":{"rendered":"#A New JavaScript Compiler Aims to Improve Chrome\u2019s Overall Speed \u2013 Review Geek"},"content":{"rendered":"<p><strong>&#8220;#A New Java<a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">Script<\/a> Compiler Aims to Improve Chrome\u2019s Overall Speed \u2013 Review Geek&#8221;<\/strong><\/p>\n<div id=\"article-content-area\">\n<figure style=\"width: 1920px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage wp-image-85611 size-full\" src=\"https:\/\/www.reviewgeek.com\/p\/uploads\/2021\/05\/bf3b30d7.png?width=1200\" alt=\"Google Chrome application icon on Apple iPhone X screen close up\" width=\"1920\" height=\"1080\" data-crediturl=\"https:\/\/www.shutterstock.com\/image-photo\/sanktpetersburg-russia-march-7-2018-google-1040645851\" data-credittext=\"BigTunaOnline\/Shutterstock.com\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.shutterstock.com\/image-photo\/sanktpetersburg-russia-march-7-2018-google-1040645851\">BigTunaOnline\/Shutterstock.com<\/a><\/span><\/figcaption><\/figure>\n<p><span>Google has now rolled out a new JavaScript compiler, dubbed Sparkplug, for its V8 JavaScript engine in Chrome. Sparkplug\u2019s engineers assure it\u2019ll create a faster web experience, and that it does so by \u201ccheating.\u201d<\/span><\/p>\n<p><span>The new compiler is part of the Chrome 91 update, which Google rolled out on Tuesday. Along with Sparkplug, the release also includes security updates and other critical changes that will boost the JavaScript engine.<\/span><\/p>\n<p><span>Thomas Nattestad, a Chrome product manager, <\/span><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/blog.chromium.org\/2021\/05\/chrome-is-faster-in-m91.html?m=1\"><span>said<\/span><\/a><span>, \u201cAn important component of delivering a fast browser is fast JavaScript execution. In Chrome, that job is done by the V8 engine which executes over 78 years worth of JavaScript code on a daily basis. In M91 Chrome is now up to 23% faster with the launch of a <\/span><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/v8.dev\/blog\/sparkplug\"><span>new Sparkplug compiler<\/span><\/a><span> and <\/span><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/v8.dev\/blog\/short-builtin-calls\"><span>short builtin calls<\/span><\/a><span>, saving over 17 years of our users\u2019 CPU time each day.\u201d<\/span><\/p>\n<p><span>The compiler is a welcome addition to the JavaScript pipeline, as it acts as an inter<a href=\"https:\/\/buradabiliyorum.com\/en\/category\/social-mediaa\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Social Media\" target=\"_blank\" rel=\"noopener\">media<\/a>ry between the existing Ignition and Turbofan compilers. Ignition interprets the bytecode and Turbofan optimizes the high-performance machine code. Both do a solid job, but it takes time to process and optimize all the code.<\/span><\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-85612 size-full\" src=\"https:\/\/www.reviewgeek.com\/p\/uploads\/2021\/05\/0f7ab95b.png\" alt=\"JavaScript programming language with script code on laptop screen\" width=\"1600\" height=\"900\" data-crediturl=\"https:\/\/www.shutterstock.com\/image-vector\/javascript-programming-language-script-code-on-1062509657\" data-credittext=\"fatmawati achmad zaenuri\/Shutterstock.com\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><figcaption class=\"wp-caption-text\"><span class=\"imagecredit\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.shutterstock.com\/image-vector\/javascript-programming-language-script-code-on-1062509657\">fatmawati achmad zaenuri\/Shutterstock.com<\/a><\/span><\/figcaption><\/figure>\n<p><span>As Nattestad explains, \u201cSparkplug strikes a balance between Ignition and Turbo fan in that it does generate native machine code but does not depend on information gathered while executing the JavaScript code. This lets it start executing quickly while still generating relatively fast code.\u201d<\/span><\/p>\n<p><span>And Sparkplug \u201ccheats\u201d its way to efficiency by compiling functions already compiled to bytecode. Leszek Swirski, one of Sparkplug\u2019s engineers, explains that \u201cthe bytecode compiler has already done most of the hard work like variable resolution, figuring out if parentheses are actually arrow functions, desugaring destructuring statements, and so on. Sparkplug compiles from bytecode rather than from JavaScript source, and so doesn\u2019t have to worry about any of that.\u201d<\/span><\/p>\n<p><span>Explaining the intricacies can get super technical, super fast, however. If you\u2019re into that, you can read the entire V8 Devs blog post <\/span><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/v8.dev\/blog\/sparkplug\"><span>here<\/span><\/a><span>. For the rest of us, all you really need to know is that Chrome is going to move a little faster now, which is good <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/news\/\" data-internallinksmanager029f6b8e52c=\"2\" title=\"News\" target=\"_blank\" rel=\"noopener\">news<\/a> for everyone.<\/span><\/p>\n<p><small><span>via <\/span><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.zdnet.com\/article\/googles-chrome-browser-is-about-to-get-a-lot-faster\/\"><span>ZDNet<\/span><\/a><\/small>\n<\/div>\n<p><script>\nsetTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s)}(window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n  fbq('init', '1137093656460433');\n  fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.reviewgeek.com\/85610\/a-new-javascript-compiler-aims-to-improve-chromes-overall-speed\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#A New JavaScript Compiler Aims to Improve Chrome\u2019s Overall Speed \u2013 Review Geek&#8221; BigTunaOnline\/Shutterstock.com Google has now rolled out a new JavaScript compiler, dubbed Sparkplug, for its V8 JavaScript engine in Chrome. Sparkplug\u2019s engineers assure it\u2019ll create a faster web experience, and that it does so by \u201ccheating.\u201d The new compiler is part of the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":261720,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.reviewgeek.com\/p\/uploads\/2021\/05\/bf3b30d7.png","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-261719","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/261719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=261719"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/261719\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/261720"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=261719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=261719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=261719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}