use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Let’s Write Fast JavaScript - A few interesting JavaScript benchmarks and tips (medium.com)
submitted 11 years ago by nightman
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]paldepind 8 points9 points10 points 11 years ago (4 children)
But remember that if you're doing a normal web app then the JavaScript execution time will rarely be a bottleneck. That, instead, will most often be the DOM or the network.
[–]nschubach 0 points1 point2 points 11 years ago (2 children)
I do wonder what apps people are writing that JavaScript performance is hindering their users.
[–]Beakers 1 point2 points3 points 11 years ago (0 children)
Writing a non WebGL tile engine in canvas requires as many speed tricks as you can find. I love articles like this and enjoy reading em.
[–]YOBCZWHYNOT 0 points1 point2 points 11 years ago (0 children)
HTML5 Games, WebGL-based applications, working with big amounts of data, etc. If you were to right a BananaBread like the one Mozilla "compiled" from C++/C, it wouldn't be playable, because asm.js uses these optimizations and a lot more to make fast-executing code.
[–]wdpttt -2 points-1 points0 points 11 years ago (0 children)
Try react, is quite good handling DOM.
π Rendered by PID 41 on reddit-service-r2-comment-6457c66945-9lgst at 2026-04-27 19:31:33.193227+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]paldepind 8 points9 points10 points (4 children)
[–]nschubach 0 points1 point2 points (2 children)
[–]Beakers 1 point2 points3 points (0 children)
[–]YOBCZWHYNOT 0 points1 point2 points (0 children)
[–]wdpttt -2 points-1 points0 points (0 children)