TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Optimize your Node app by upgrading Node.js

143 pointsby ecaresabout 8 years ago

11 comments

okketabout 8 years ago
FYI: Idiomatic Javascript &#x2F; Builtins should be fast with the recent revamp of the V8 engine (stop writing &quot;CrankScript&quot;).<p><a href="http:&#x2F;&#x2F;benediktmeurer.de&#x2F;2017&#x2F;03&#x2F;01&#x2F;v8-behind-the-scenes-february-edition&#x2F;" rel="nofollow">http:&#x2F;&#x2F;benediktmeurer.de&#x2F;2017&#x2F;03&#x2F;01&#x2F;v8-behind-the-scenes-feb...</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;v8&#x2F;v8&#x2F;wiki&#x2F;TurboFan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;v8&#x2F;v8&#x2F;wiki&#x2F;TurboFan</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=M1FBosB5tjM" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=M1FBosB5tjM</a>
评论 #13996139 未加载
orfabout 8 years ago
Ok, seems like an interesting article but what the hell is up with those share icons. On your mobile if you rotate the screen to read the interesting table they cover up the first damn column. Then you rotate it back to portrait and they don&#x27;t move back.<p>Fix your website. Remove those silly icons!
评论 #13997974 未加载
评论 #14000985 未加载
chmlnabout 8 years ago
The new major version 8 of Node.js coming out in April will be a great performance booster for those who started using async&#x2F;await and more:<p>- Node upgraded v8 to 5.7 [1] &amp; async functions as fast as promises [2]<p>- Optimizations in fs[3]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;nodejs&#x2F;node&#x2F;pull&#x2F;11752" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nodejs&#x2F;node&#x2F;pull&#x2F;11752</a><p>[2] <a href="https:&#x2F;&#x2F;v8project.blogspot.ca&#x2F;2017&#x2F;02&#x2F;v8-release-57.html" rel="nofollow">https:&#x2F;&#x2F;v8project.blogspot.ca&#x2F;2017&#x2F;02&#x2F;v8-release-57.html</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;nodejs&#x2F;node&#x2F;pull&#x2F;12105" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nodejs&#x2F;node&#x2F;pull&#x2F;12105</a>
mikewhyabout 8 years ago
&gt; Object literal containing a getter and object literal containing a setter<p>Isn&#x27;t this something Babel does quite often?
recursiveabout 8 years ago
According to the table, there are an increasing number of constructs that prevent optimization. The oldest versions of node seem to have no constructs that prevent optimization. Can that be right?
评论 #13996044 未加载
评论 #13996082 未加载
josteinkabout 8 years ago
I find the (repeated) use of the word polymorphism here a bit confusing...<p>I&#x27;m mostly used to it an class inheritance-related contexts. Is it used differently in the Node&#x2F;JS-community?
评论 #13999164 未加载
Pigoabout 8 years ago
I&#x27;d really like to find a position doing more Node development. It seems like every place in my area that claims to just uses npm. I&#x27;ve had to learn the MEAN stack on my own, and it feels like it outperforms a lot of the apps I&#x27;ve built in other stacks.
评论 #13997462 未加载
评论 #13997455 未加载
partycoderabout 8 years ago
A quadratic algorithm optimized by v8 will be still quadratic.<p>While these optimizations can be helpful, real problem is order of growth. To optimize order of growth problems knowledge of algorithms and data structures is important.<p>Optimization can be assisted by instrumentation and profiling.
评论 #13997733 未加载
评论 #14000233 未加载
Kiroabout 8 years ago
&gt; the JavaScript engine will not accept to optimize it<p>What does this mean? I don&#x27;t understand if it&#x27;s good or bad. Sounds bad but seems good according to the table?
评论 #13996088 未加载
StyloBillabout 8 years ago
Unrelated and I&#x27;m sorry for that, but do you know of a good way to get rid of the scroll hijacking? I didn&#x27;t find a lot of extensions for Chrome and the one I tried wasn&#x27;t working.<p>It blows my mind to encounter this bad practice on a developper related website.
评论 #13996161 未加载
definedabout 8 years ago
I was at first excited, then deflated, because I initially read the headline as &quot;Optimize your Node app by deleting Node.js&quot; (snerk).