r/reactjs • • Jun 01 '15

Is ReactJS really fast ?

http://blog.500tech.com/is-reactjs-fast/
2 Upvotes

10 comments sorted by

View all comments

Show parent comments

2

u/renren89 Jun 01 '15

Isn't angular a MVC where react isn't? Explaining larger library? I'm not sure what jsblock really is as I am not too adept at analyzing outside my scope. Would you care to post your results/source code so I can do a comparison?

1

u/blaine_hatab Jun 01 '15 edited Jun 02 '15

I'm not bashing angular at all, I don't think they got a fair shot either. I just evaluated the jsblocks vs react stuff and it was all skewed. I'm sure angular would be much faster in the tests too if someone looked into it. The speed of react isn't even the best part of react but if you're gonna say you're faster then please at least be faster.

Here's a link to the original test in a folder and the response performance test they sent me after.

https://drive.google.com/folderview?id=0BxTyg4RuMOHUfjlvTkN3dzRaSU4wckh0b3lST3lrb3lzekdWVWhVSlJfWlRsLWszR0RuYjQ&usp=sharing

Unfortunately I saved the initial test after removing the hidden element but you can see what the actual numbers would have been like at least and you can see the hidden style at the top of the document that was used. Their original test may be on github.

I also put in the email that they sent me after I called out their "awesome" graph. They did admit it wasn't fair, but responding with an equally unrealistic test to push jsblocks ahead didn't help. They basically just searched for a number of elements that made them win and it was crazy high.

Also the non minified angular even after the response doesn't look good either.

1

u/renren89 Jun 02 '15

No, I appreciated your insight as my knowledge to begin with in web development is very limited. I was just curious on the more reasonable results you got to get a better picture on the performance marks as there are a lot of blog posts on how diffing results in faster performance but never any real benchmarks.

1

u/blaine_hatab Jun 02 '15

There's stuff out there. Found this one, https://www.codementor.io/reactjs/tutorial/reactjs-vs-angular-js-performance-comparison-knockout. Performance benchmarks are a bad benchmark though and even the react team says it's a bad benchmark. Everyone will catch up in time. React really shines in terms of developer flow and data management.

1

u/renren89 Jun 02 '15

That's the only one I found, not much else out there to compare though. Then again I merely enjoy staring at benchmarks just to see weaknesses, doesn't really affect my opinion on the "framework."