question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not all frameworks are created equal. Are we comparing apples to oranges?

See original GitHub issue

I would like to revisit and understand the goals of this project. If anyone knows, please let me know 🙏 @krausest @leeoniya

I use js-framework-benchmark all the time to see how my frameworks fare against other VirtualDOM-based libraries, e.g., Inferno, React, domvm, etc., as well as the vanilla JavaScript implementation.

But not all frameworks are created equal and some of the results derived from this benchmark test can be rather uninformative. 😅

I certainly want to compare my results against a vanilla JavaScript implementation of the same example. That’s how I know how I fare against the “raw metal”, but I am disappointed every time I see a new framework claiming to be blazing / lightning fast & turbo-boosted when they are basically a glorified wrapper around createElement, insertBefore and removeChild.

Clearly a wrapper library around the CRUD DOM API will score just as well as the vanilla implementation! But certainly their authors would like to fine tune their work too.

Would it be possible to compare only VirtualDOM-based libraries together and those that are not based on a VirtualDOM visible under a different filter?

Disclaimer: I am not trying to criticize any of the frameworks included in this benchmark, whether I like using some of them or not is my personal opinion and it’s definitely not what I am trying to say here.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:24 (24 by maintainers)

github_iconTop GitHub Comments

7reactions
krausestcommented, Aug 13, 2017

Maybe I also should add my 2 ct. @jbucaran > I would like to revisit and understand the goals of this project. I just wanted to know how angular 2, angularjs or react compared performance wise. Then suddenly all went out of control and ~60 framework implementations were added. At the same time it turned out that Angular 2 and React actually were almost indistinguishably fast. 😀

Seriously: I’m not fond of restricting the benchmark to virtual dom frameworks - as a developer I’m just asking for a framework maybe combined with a language with a nice API and good performance. Personally I appreciate the honesty of idiomatic implementations close to the framework’s docs (if such exist…).

3reactions
leeoniyacommented, Aug 9, 2017

if anyone’s ever confused about @localvoid’s vague comments, he’s usually trolling 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Comparing Apples to Oranges: Common Trends and ...
Comparing Apples to Oranges : Common Trends and Thresholds in Anthropogenic and Environmental Pressures across Multiple Marine Ecosystems.
Read more >
Comparing Apples and Oranges | Science
As we can see from this small list, it is quite easy to compare apples and oranges. And they are remarkably similar in...
Read more >
Apples and Oranges: A Critique of Utilitarianism - Russ Roberts
The metaphor captures why we have an urge to quantify, to measure. A farmer must implicitly or explicitly compare apples and oranges if...
Read more >
Measuring Differences between Data Mining Results - arXiv
In other words, we give an approach by which we can meaningfully mix apples and oranges, and compare between them fairly. In this...
Read more >
Comparing Apples and Oranges: Using Reward-Specific and ...
It is often said that one cannot choose between apples and oranges, but consumers make this choice every day. Classical economic proofs ( ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found