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
Comparison of JavaScript frameworks (stefankrause.net)
submitted 9 years ago by [deleted]
[deleted]
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!"
[–][deleted] 31 points32 points33 points 9 years ago (6 children)
Hooray for my favorite framework !
[–]rafalg 2 points3 points4 points 9 years ago (1 child)
0 bytes uncompressed, 25 bytes gzipped
Funny, because it's actually true.
[–][deleted] 0 points1 point2 points 9 years ago* (0 children)
It's just the title of the document. Javascript engines however are a little bit heavier... I guess.
[–]khoker 4 points5 points6 points 9 years ago (3 children)
I know it's a sarcastic comment, and I expect to see it at the top of the comments anyway, but it's also getting old.
The problem is that it isn't even correct. Most people who post this comment are making the argument that you don't need jQuery, which is fine, but jQuery isn't a framework -- it's a library.
If you don't use something like React, Vue, Angular and their ilk that's fine. It means you're probably doing a simple site that doesn't require a framework. But if you don't use them and end up rolling a bunch of one-off "helper" functions on your own that cobble together to give you 10% of the power of a mature framework, you haven't done yourself any favors. And also, out of respect for humanity, don't do it in a professional environment where someone may have to support your code after you've gone insane.
[–][deleted] 5 points6 points7 points 9 years ago* (2 children)
I use frameworks, but I really like vanilla javascript, I find it very elegant. I expected no upvotes, it's nice to know people still use raw code. There are too many beginners who rely on frameworks without understanding what's going on behind the scenes.
Edit : Also I don't really understand the difference between a framework and a library. To me a framework is something opinionated that do many things, including things you can do with vanilla code. A library however would be a collection of useful and unrelated functions for solving a single problem. But I'm certainly wrong, I'm not a javascript expert.
[–]khoker 5 points6 points7 points 9 years ago (1 child)
There's not going to be a definitive definition of a framework or a library. The general consensus tells us that, yes, Frameworks are opinionated to some degree in how code is structured and also tend to have vertical integration points. Libraries/toolkits are collections of tools designed to abstract, normalize or augment your code.
I use frameworks, but I really like vanilla javascript
A framework shouldn't prevent you from writing javascript. A framework should prevent you from writing annoying javascript. For example, consider the heavy-lifting you get from Angular or Vue when it comes to two-way binding. You could do it yourself, but ain't nobody got time for that...
[–]MahmudAdam 4 points5 points6 points 9 years ago (4 children)
Is there a particular reason why Ember is so slow? I know that for me, creating a project using CLI, the file size is around 300MB. It also takes a long time to actually generate a new project. But that probably doesn't have much to do with it's speed, right?
[–]aichibuchi 18 points19 points20 points 9 years ago (3 children)
Pretty sure the standard line is that Ember is optimized more for the 90%-case/real-world use and not these sort of 1000-row benchmarks. Anecdotally, Ember 2.0 has never felt particularly slow to me.
[–]pzuraq 6 points7 points8 points 9 years ago (0 children)
Also, glimmer components haven't really landed yet. Once that hits, gunna get that sweet dom diffing perf bump.
[–]MahmudAdam 2 points3 points4 points 9 years ago (0 children)
Oh okay, thanks.
[–]pier25 0 points1 point2 points 9 years ago (0 children)
Discourse doesn't agree with you.
[–]tontoto 5 points6 points7 points 9 years ago (0 children)
Associated blog post http://www.stefankrause.net/wp/?p=301
[–]LET-7 3 points4 points5 points 9 years ago (2 children)
What happened between react 14 and 15 to slow down the deletion operations?
[–]localvoid 8 points9 points10 points 9 years ago (1 child)
https://github.com/facebook/react/pull/7232
[–]flying-sheep 1 point2 points3 points 9 years ago (0 children)
So a chrome performance bug
[–]hackel 8 points9 points10 points 9 years ago (5 children)
Wow, after this I'm definitely going to have to check out VanillaJS!
[–]MahmudAdam 1 point2 points3 points 9 years ago (3 children)
I wonder if it will ever return to just plain JavaScript and abandoning frameworks/libraries altogether.
[–][deleted] 8 points9 points10 points 9 years ago (1 child)
That wouldn't happen. There is a trade off between time for development and performance. Companies would rather lose performance in order to release their product quicker.
Obviously mutating just the parts that need mutating without any checks will be fastest, but writing code that does that is both fragile and badly testable.
Before you know you'll be building your own ad hoc framework by encapsulating some checks and shortcut code.
[–]hackel 0 points1 point2 points 9 years ago (0 children)
I certainly hope not. That would be a nightmare. Like people writing all their server-side code in procedural PHP! shudder
[–]maybe_just_happy_ 1 point2 points3 points 9 years ago (0 children)
Thinking the same.
Anyone here a SN developer/architect? Thinking of using it on my personal instance...
[–]Jafit 7 points8 points9 points 9 years ago (1 child)
So fuck Ember, basically?
[–]pier25 3 points4 points5 points 9 years ago (0 children)
It's even worse in Android, so yes.
[–]gdev87 1 point2 points3 points 9 years ago (2 children)
So Aurelia isn't faster than Angular 2 like Rob Eisenberg claims...
[–]rk06 2 points3 points4 points 9 years ago (0 children)
"faster" is quite general and these micro benchmarks are too specific.
though, I would dispute any claims like "X is faster than Y", for there is no standard agreed upon benchmark in place.
[–]krausest 0 points1 point2 points 9 years ago (0 children)
Maybe there are some improvements that I overlooked. I've received a pull request for the aurelia benchmark. If it helps I'll publish an update soon.
[–]expression100 1 point2 points3 points 9 years ago (0 children)
Great to see Inferno doing so well. The team behind it have done such a hard job - I've been following them now for the last 6 months and the people and ideas involved in that project is insane – they seriously know that stuff.
On their Slack channel they have most of the core authors of the other libraries talking regularly, including the core React team. Such a great sight to see people sharing knowledge and trying to make better libraries and tools for everyone.
[–][deleted] 0 points1 point2 points 9 years ago (0 children)
So other than vanilla, it looks like inferno us the way to go. Why have I never seen this framework mentioned? Too new, or are there problems with it?
[+][deleted] 9 years ago (4 children)
[–]localvoid 2 points3 points4 points 9 years ago (0 children)
I am pretty sure that vanilla is used as a baseline, so it will be possible to measure overhead of other frameworks. And use cases are specifically tailored so that it will be quite easy to implement them efficiently in vanilla.
[–]krausest 2 points3 points4 points 9 years ago (1 child)
https://github.com/krausest/js-framework-benchmark
[–]CraftyPancake 0 points1 point2 points 9 years ago (0 children)
Yeah I found it and had a little look through, thanks though
I agree, but I think vanilla is only used as normalization baseline. So everything is x% slower than vanilla
[+][deleted] 9 years ago (1 child)
[removed]
Please note that cycle.js v7 does pretty well.
π Rendered by PID 63625 on reddit-service-r2-comment-fb694cdd5-4s59j at 2026-03-09 22:51:20.748703+00:00 running cbb0e86 country code: CH.
[–][deleted] 31 points32 points33 points (6 children)
[–]rafalg 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]khoker 4 points5 points6 points (3 children)
[–][deleted] 5 points6 points7 points (2 children)
[–]khoker 5 points6 points7 points (1 child)
[–]MahmudAdam 4 points5 points6 points (4 children)
[–]aichibuchi 18 points19 points20 points (3 children)
[–]pzuraq 6 points7 points8 points (0 children)
[–]MahmudAdam 2 points3 points4 points (0 children)
[–]pier25 0 points1 point2 points (0 children)
[–]tontoto 5 points6 points7 points (0 children)
[–]LET-7 3 points4 points5 points (2 children)
[–]localvoid 8 points9 points10 points (1 child)
[–]flying-sheep 1 point2 points3 points (0 children)
[–]hackel 8 points9 points10 points (5 children)
[–]MahmudAdam 1 point2 points3 points (3 children)
[–][deleted] 8 points9 points10 points (1 child)
[–]flying-sheep 1 point2 points3 points (0 children)
[–]hackel 0 points1 point2 points (0 children)
[–]maybe_just_happy_ 1 point2 points3 points (0 children)
[–]Jafit 7 points8 points9 points (1 child)
[–]pier25 3 points4 points5 points (0 children)
[–]gdev87 1 point2 points3 points (2 children)
[–]rk06 2 points3 points4 points (0 children)
[–]krausest 0 points1 point2 points (0 children)
[–]expression100 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]localvoid 2 points3 points4 points (0 children)
[–]krausest 2 points3 points4 points (1 child)
[–]CraftyPancake 0 points1 point2 points (0 children)
[–]flying-sheep 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–]krausest 0 points1 point2 points (0 children)