Hacker Newsnew | past | comments | ask | show | jobs | submit | maxwillmott's commentslogin

I'd left React in development mode during these tests. See this PR https://github.com/footballradar/VueReactPerf/pull/3 for some results with the issues fixed.

We'll re-run the tests in the morning (uk) and post the updates.


You're unfortunately not the only one that doesn't use prod for doing benchmarks and potentially also not for actual production. If you have ideas on how we could better educate people about the difference, I'd love to know. https://twitter.com/Vjeux/status/735178192651063298


I don't have any suggestions regarding education, but it would be helpful for me (and I'm sure others) if there was a non minified production build available via bower; My build process isn't using npm modules right now, so I've been stuck using the dev version.


This is huge and completely changes what people will take away from this post. A super easy oversight, though.

Good to know react isn't as bad as how it's painted here! (I'll see myself out).


In that PR the browser is running AdBlock plus.

I'm intrigued as to whether that would make a difference overall and whether there is any difference between the frameworks when using ABP.

Difference is likely insignificant, but if React is not touching the DOM unless it needs to, does it actually lead to a performance benefit when a user is running an ad blocker (constantly parsing page changes etc).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: