{"id":47394,"date":"2016-04-26T13:26:17","date_gmt":"2016-04-26T20:26:17","guid":{"rendered":"https:\/\/redfindevelop.wpengine.com\/blog\/?p=47394"},"modified":"2020-10-05T13:11:58","modified_gmt":"2020-10-05T20:11:58","slug":"es6-in-node-v6","status":"publish","type":"post","link":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/","title":{"rendered":"ES6 in Node v6"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Node 6 dropped today, and it includes V8 v5, which implements <\/span><a href=\"http:\/\/node.green\/\"><span style=\"font-weight: 400;\">96% of the ES6 standard<\/span><\/a><span style=\"font-weight: 400;\">, as measured by the <\/span><a href=\"https:\/\/kangax.github.io\/compat-table\/es6\/\"><span style=\"font-weight: 400;\">kangax compatibility table<\/span><\/a><span style=\"font-weight: 400;\">. \u00a0At this point, you might consider only transpiling ES7 features like <\/span><a href=\"http:\/\/exploringjs.com\/es6\/ch_modules.html\"><span style=\"font-weight: 400;\">import \/ export<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"https:\/\/github.com\/tc39\/ecmascript-asyncawait\"><span style=\"font-weight: 400;\">async \/ await<\/span><\/a><span style=\"font-weight: 400;\">. \u00a0But what are the performance implications of switching from Babel to V8 native? \u00a0I went through each of the ES6 features listed on the V8 blog released between 4.5 (<\/span><a href=\"https:\/\/nodejs.org\/en\/blog\/release\/v4.0.0\/\"><span style=\"font-weight: 400;\">the version of V8 in 4.0.0<\/span><\/a><span style=\"font-weight: 400;\">) and 5 (<\/span><a href=\"https:\/\/nodejs.org\/en\/blog\/release\/v6.0.0\/\"><span style=\"font-weight: 400;\">the version of V8 in 6.0.0<\/span><\/a><span style=\"font-weight: 400;\">).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can <\/span><a href=\"https:\/\/github.com\/redfin\/babel-vs-v8-perf-test\"><span style=\"font-weight: 400;\">see the test harness and tests on our github page<\/span><\/a><span style=\"font-weight: 400;\">. In general, it seems to be a wash as to whether to use Babel or Node native from a performance standpoint; it may be worthwhile to turn off your Babel transforms to make your transpiled server-side javascript more readable. \u00a0More detailed results follow:<\/span><\/p>\n<h3><a href=\"http:\/\/exploringjs.com\/es6\/ch_parameter-handling.html#_spread-operator-\"><span style=\"font-weight: 400;\">Spread Operator<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">Math.max(-1, &#8230;[-1, 5, 11], 3) \/\/ 11<\/span><\/p>\n<p>Testing spread<br \/>\nNode results: min 827.29 ms max: 855.65 ms mean: 844.019 ms<br \/>\nBabel results: min 833.51 ms max: 861.93 ms mean: 847.01 ms<br \/>\nnode is 0.4% faster<\/p>\n<h3><a href=\"http:\/\/exploringjs.com\/es6\/ch_destructuring.html#sec_rest-operator\"><span style=\"font-weight: 400;\">Rest operator<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">const [x, &#8230;y] = [&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;]; \/\/ x=&#8217;a&#8217;; y=[&#8216;b&#8217;, &#8216;c&#8217;]<\/span><\/p>\n<p>Testing rest<br \/>\nNode results: min 1230.66 ms max: 1296.05 ms mean: 1255.2350000000001 ms<br \/>\nBabel results: min 1230.19 ms max: 1292.25 ms mean: 1252.0760000000002 ms<br \/>\nbabel is 0.3% faster<\/p>\n<h3><a href=\"http:\/\/www.2ality.com\/2016\/02\/array-prototype-includes.html\"><span style=\"font-weight: 400;\">Array.prototype.includes<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">[&#8220;apple&#8221;, &#8220;banana&#8221;, &#8220;cherry&#8221;].includes(&#8220;apple&#8221;) \/\/ true<\/span><\/p>\n<p>Testing array-includes<br \/>\nNode results: min 865.39 ms max: 887.29 ms mean: 877.9619999999999 ms<br \/>\nBabel results: min 870.71 ms max: 906.53 ms mean: 888.872 ms<br \/>\nnode is 1.2% faster<\/p>\n<h3><a href=\"http:\/\/exploringjs.com\/es6\/ch_oop-besides-classes.html#sec_customizing-oop-via-well-known-symbols\"><span style=\"font-weight: 400;\">toPrimitive and isConcatSpreadable<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">({ [Symbol.toPrimitive](hint){return 12} }) + 12 \/\/ 24<\/span><\/p>\n<p>Testing to-primitive<br \/>\nNode results: min 1034.85 ms max: 1146.37 ms mean: 1093.8049999999998 ms<br \/>\nBabel results: min 1030.12 ms max: 1104.63 ms mean: 1074.011 ms<br \/>\nbabel is 1.8% faster<\/p>\n<h3><a href=\"http:\/\/exploringjs.com\/es6\/ch_oop-besides-classes.html#sec_customizing-oop-via-well-known-symbols\"><span style=\"font-weight: 400;\">Symbol.toStringTag<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">({[Symbol.toStringTag]: &#8216;Foo&#8217;}.toString()) \/\/ &#8216;[object Foo]&#8217;<\/span><\/p>\n<p>Testing to-string-tag<br \/>\nNode results: min 715.22 ms max: 1157.05 ms mean: 933.577 ms<br \/>\nBabel results: min 710.71 ms max: 1168.74 ms mean: 896.434 ms<br \/>\nbabel is 4% faster<\/p>\n<h3><a href=\"http:\/\/exploringjs.com\/es6\/ch_first-steps.html#_handling-parameter-default-values\"><span style=\"font-weight: 400;\">Default parameters<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">function sublist(list, start = 0, end = list.length) { \u2026 }<\/span><\/p>\n<p>Testing default-parameters<br \/>\nNode results: min 719.47 ms max: 1165.03 ms mean: 899.086 ms<br \/>\nBabel results: min 716.88 ms max: 741.43 ms mean: 729.324 ms<br \/>\nbabel is 18.9% faster<\/p>\n<h3><a href=\"http:\/\/exploringjs.com\/es6\/ch_proxies.html\"><span style=\"font-weight: 400;\">Proxies &amp; Reflect<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">(new Proxy({}, { get() { return 123 } })).bar \/\/ 123<\/span><\/p>\n<p>Testing proxy<br \/>\nNode results: min 715.15 ms max: 1186.28 ms mean: 1063.049 ms<br \/>\nBabel results: min 726.51 ms max: 1180.13 ms mean: 1108.535 ms<br \/>\nnode is 4.1% faster<\/p>\n<h3><a href=\"http:\/\/exploringjs.com\/es6\/ch_destructuring.html\"><span style=\"font-weight: 400;\">Destructuring<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">let [x, y, &#8230;r] = [1, 2, 3, 4]; \/\/ x=1, y=2, r=[3,4]<\/span><\/p>\n<p>Testing destructuring<br \/>\nNode results: min 845.47 ms max: 873.15 ms mean: 859.4529999999999 ms<br \/>\nBabel results: min 830.17 ms max: 867.17 ms mean: 852.933 ms<br \/>\nbabel is 0.8% faster<\/p>\n<h3><a href=\"https:\/\/mathiasbynens.be\/notes\/es6-unicode-regex\"><span style=\"font-weight: 400;\">Unicode (emoji) regex<\/span><\/a><\/h3>\n<p><span style=\"font-weight: 400;\">\/?{2}\/u.test(&#8216;??&#8217;); \/\/true<\/span><\/p>\n<p>Testing unicode-regex<br \/>\nNode results: min 1013.32 ms max: 1065.64 ms mean: 1048.119 ms<br \/>\nBabel results: min 1037.11 ms max: 1078.2 ms mean: 1057.127 ms<br \/>\nnode is 0.9% faster<\/p>\n<p><span style=\"font-weight: 400;\">Run on a MacBook Pro, 2.5 GHz Intel Core i7 w\/ 16 GB of RAM<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Also in node v6.0.0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><a href=\"http:\/\/exploringjs.com\/es6\/ch_first-steps.html#_from-var-to-letconst\"><span style=\"font-weight: 400;\">let, const<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"http:\/\/exploringjs.com\/es6\/ch_classes.html#ch_classes\"><span style=\"font-weight: 400;\">class<\/span><\/a><span style=\"font-weight: 400;\"> outside of strict mode<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><a href=\"http:\/\/v8project.blogspot.com\/2015\/10\/jank-busters-part-one.html\"><span style=\"font-weight: 400;\">reduced gc jank<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><a href=\"http:\/\/v8project.blogspot.com\/2015\/12\/theres-mathrandom-and-then-theres.html\"><span style=\"font-weight: 400;\">better math.random()<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What are the performance implications of switching from Babel to V8 native? We did a test to find out.<\/p>\n","protected":false},"author":13177,"featured_media":47438,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[57],"tags":[],"dashboard":[],"coauthors":[],"class_list":["post-47394","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-company-news"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.7 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>ES6 in Node v6 - Redfin Real Estate News<\/title>\n<meta name=\"description\" content=\"Testing whether using ES6 transpiled or untranspiled is more performant in Node v6.0.0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ES6 in Node v6\" \/>\n<meta property=\"og:description\" content=\"Testing whether using ES6 transpiled or untranspiled is more performant in Node v6.0.0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/\" \/>\n<meta property=\"og:site_name\" content=\"Redfin Real Estate News\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/redfin\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-26T20:26:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-05T20:11:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redfin.com\/news\/wp-content\/uploads\/2016\/04\/babel-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"277\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Doug Wade\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@redfin\" \/>\n<meta name=\"twitter:site\" content=\"@redfin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Doug Wade\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/\"},\"author\":{\"name\":\"Doug Wade\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#\\\/schema\\\/person\\\/ce8e1b698aeb1c41384c05ef5c97ddbc\"},\"headline\":\"ES6 in Node v6\",\"datePublished\":\"2016-04-26T20:26:17+00:00\",\"dateModified\":\"2020-10-05T20:11:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/\"},\"wordCount\":432,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.redfin.com/news\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/babel-1.png\",\"articleSection\":[\"Company News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/#respond\"]}],\"copyrightYear\":\"2016\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/\",\"url\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/\",\"name\":\"ES6 in Node v6 - Redfin Real Estate News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.redfin.com/news\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/babel-1.png\",\"datePublished\":\"2016-04-26T20:26:17+00:00\",\"dateModified\":\"2020-10-05T20:11:58+00:00\",\"description\":\"Testing whether using ES6 transpiled or untranspiled is more performant in Node v6.0.0\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.redfin.com/news\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/babel-1.png\",\"contentUrl\":\"https:\\\/\\\/www.redfin.com/news\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/babel-1.png\",\"width\":400,\"height\":277},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/es6-in-node-v6\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.redfin.com/news\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ES6 in Node v6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#website\",\"url\":\"https:\\\/\\\/www.redfin.com/news\\\/\",\"name\":\"Redfin Real Estate News\",\"description\":\"The latest real estate news and research from technology-powered residential real estate company, Redfin.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.redfin.com/news\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#organization\",\"name\":\"Redfin\",\"url\":\"https:\\\/\\\/www.redfin.com/news\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.redfin.com\\\/news\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/Redfin-News-Logo.png\",\"contentUrl\":\"https:\\\/\\\/www.redfin.com\\\/news\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/Redfin-News-Logo.png\",\"width\":1100,\"height\":235,\"caption\":\"Redfin\"},\"image\":{\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/redfin\",\"https:\\\/\\\/x.com\\\/redfin\",\"https:\\\/\\\/www.instagram.com\\\/redfinrealestate\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/redfin\",\"https:\\\/\\\/www.pinterest.com\\\/redfin\\\/\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Redfin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.redfin.com/news\\\/#\\\/schema\\\/person\\\/ce8e1b698aeb1c41384c05ef5c97ddbc\",\"name\":\"Doug Wade\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1cb4c01b6eebf4bb7770e674ad8d70385f0e968d07b6345cd98a9c4f06020943?s=96&d=wp_user_avatar&r=g98695681813068d628dacc4b535b1a8d\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1cb4c01b6eebf4bb7770e674ad8d70385f0e968d07b6345cd98a9c4f06020943?s=96&d=wp_user_avatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1cb4c01b6eebf4bb7770e674ad8d70385f0e968d07b6345cd98a9c4f06020943?s=96&d=wp_user_avatar&r=g\",\"caption\":\"Doug Wade\"},\"description\":\"I'm a software developer at Redfin on the Platforms team. I'm a cyclist, soccer hooligan, and beer enthusiast.\",\"sameAs\":[\"https:\\\/\\\/plus.google.com\\\/106007864994207794940\"],\"url\":\"https:\\\/\\\/www.redfin.com/news\\\/author\\\/doug-waderedfin-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"ES6 in Node v6 - Redfin Real Estate News","description":"Testing whether using ES6 transpiled or untranspiled is more performant in Node v6.0.0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/","og_locale":"en_US","og_type":"article","og_title":"ES6 in Node v6","og_description":"Testing whether using ES6 transpiled or untranspiled is more performant in Node v6.0.0","og_url":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/","og_site_name":"Redfin Real Estate News","article_publisher":"https:\/\/www.facebook.com\/redfin","article_published_time":"2016-04-26T20:26:17+00:00","article_modified_time":"2020-10-05T20:11:58+00:00","og_image":[{"width":400,"height":277,"url":"https:\/\/www.redfin.com\/news\/wp-content\/uploads\/2016\/04\/babel-1.png","type":"image\/png"}],"author":"Doug Wade","twitter_card":"summary_large_image","twitter_creator":"@redfin","twitter_site":"@redfin","twitter_misc":{"Written by":"Doug Wade","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/#article","isPartOf":{"@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/"},"author":{"name":"Doug Wade","@id":"https:\/\/www.redfin.com\/news\/#\/schema\/person\/ce8e1b698aeb1c41384c05ef5c97ddbc"},"headline":"ES6 in Node v6","datePublished":"2016-04-26T20:26:17+00:00","dateModified":"2020-10-05T20:11:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/"},"wordCount":432,"commentCount":0,"publisher":{"@id":"https:\/\/www.redfin.com\/news\/#organization"},"image":{"@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/#primaryimage"},"thumbnailUrl":"https:\/\/www.redfin.com\/news\/wp-content\/uploads\/2016\/04\/babel-1.png","articleSection":["Company News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.redfin.com\/news\/es6-in-node-v6\/#respond"]}],"copyrightYear":"2016","copyrightHolder":{"@id":"https:\/\/www.redfin.com\/news\/#organization"}},{"@type":"WebPage","@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/","url":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/","name":"ES6 in Node v6 - Redfin Real Estate News","isPartOf":{"@id":"https:\/\/www.redfin.com\/news\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/#primaryimage"},"image":{"@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/#primaryimage"},"thumbnailUrl":"https:\/\/www.redfin.com\/news\/wp-content\/uploads\/2016\/04\/babel-1.png","datePublished":"2016-04-26T20:26:17+00:00","dateModified":"2020-10-05T20:11:58+00:00","description":"Testing whether using ES6 transpiled or untranspiled is more performant in Node v6.0.0","breadcrumb":{"@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redfin.com\/news\/es6-in-node-v6\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/#primaryimage","url":"https:\/\/www.redfin.com\/news\/wp-content\/uploads\/2016\/04\/babel-1.png","contentUrl":"https:\/\/www.redfin.com\/news\/wp-content\/uploads\/2016\/04\/babel-1.png","width":400,"height":277},{"@type":"BreadcrumbList","@id":"https:\/\/www.redfin.com\/news\/es6-in-node-v6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redfin.com\/news\/"},{"@type":"ListItem","position":2,"name":"ES6 in Node v6"}]},{"@type":"WebSite","@id":"https:\/\/www.redfin.com\/news\/#website","url":"https:\/\/www.redfin.com\/news\/","name":"Redfin Real Estate News","description":"The latest real estate news and research from technology-powered residential real estate company, Redfin.","publisher":{"@id":"https:\/\/www.redfin.com\/news\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.redfin.com\/news\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.redfin.com\/news\/#organization","name":"Redfin","url":"https:\/\/www.redfin.com\/news\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redfin.com\/news\/#\/schema\/logo\/image\/","url":"https:\/\/www.redfin.com\/news\/wp-content\/uploads\/2020\/10\/Redfin-News-Logo.png","contentUrl":"https:\/\/www.redfin.com\/news\/wp-content\/uploads\/2020\/10\/Redfin-News-Logo.png","width":1100,"height":235,"caption":"Redfin"},"image":{"@id":"https:\/\/www.redfin.com\/news\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/redfin","https:\/\/x.com\/redfin","https:\/\/www.instagram.com\/redfinrealestate\/","https:\/\/www.linkedin.com\/company\/redfin","https:\/\/www.pinterest.com\/redfin\/","https:\/\/en.wikipedia.org\/wiki\/Redfin"]},{"@type":"Person","@id":"https:\/\/www.redfin.com\/news\/#\/schema\/person\/ce8e1b698aeb1c41384c05ef5c97ddbc","name":"Doug Wade","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1cb4c01b6eebf4bb7770e674ad8d70385f0e968d07b6345cd98a9c4f06020943?s=96&d=wp_user_avatar&r=g98695681813068d628dacc4b535b1a8d","url":"https:\/\/secure.gravatar.com\/avatar\/1cb4c01b6eebf4bb7770e674ad8d70385f0e968d07b6345cd98a9c4f06020943?s=96&d=wp_user_avatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1cb4c01b6eebf4bb7770e674ad8d70385f0e968d07b6345cd98a9c4f06020943?s=96&d=wp_user_avatar&r=g","caption":"Doug Wade"},"description":"I'm a software developer at Redfin on the Platforms team. I'm a cyclist, soccer hooligan, and beer enthusiast.","sameAs":["https:\/\/plus.google.com\/106007864994207794940"],"url":"https:\/\/www.redfin.com\/news\/author\/doug-waderedfin-com\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/posts\/47394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/users\/13177"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/comments?post=47394"}],"version-history":[{"count":0,"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/posts\/47394\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/media\/47438"}],"wp:attachment":[{"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/media?parent=47394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/categories?post=47394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/tags?post=47394"},{"taxonomy":"dashboard","embeddable":true,"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/dashboard?post=47394"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.redfin.com\/news\/wp-json\/wp\/v2\/coauthors?post=47394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}