NODE_ENV=production definitely wasn't set based on some basic testing I did (that's my PR there), which accounts for the atrocious performance.
Also, the React component is created on each request instead of just being created once. Unless one's goal is to specifically colour the perception of React, I don't understand that decision alongside the code for Pug which precompiles the template a single time.
(Also declaring the map function outside the component and not creating a closure makes for a tiny extra boost.)
It's disappointing to see that the article took off to this extent given how misleading and inaccurate it is.
Hello Anatoli. Thank you for this. It was clearly an oversight on my part, not intentional to make React look bad. I have added a note on the article and will run the tests with the correct settings and your PR with further optimisation.
Then you should withdraw the article until you get real numbers. This utterly misleading data (as of now) is going to be picked up by search engines and other blogs.
Add: on a positive note, this aspect of React is worth benchmarking. Thank you for that.
What's more, it doesn't even signal that the individual in question is better at their job than someone that puts in "only" 40 hours. I've worked with a good number of people who can talk big-talk when it comes to programming, have a countless innovative side-projects and yet can't deliver anything meaningful at work by the deadline. Some of them had very impressive github accounts and worked 10+ hours a day, but were consistently behind everyone else in the quality of their output.
I think it's a shame if someone quits the profession because they think they need to keep up with people who might or might not be delivering actual business value.
This seems like a very ignorant post that completely overlooks the realities of suffering from depression (and other mental disorders). Stating that you 'love life so much' just goes to highlight how little you seem to understand what you speak of and how little you've bothered to inform yourself.
You should probably try it again. It does indeed set DuckDuckGo as a search engine for the address bar when installed. The pop up button can be removed.
I don't really see the point of comparing IE10 (just released) to a browser that has a minuscule browser share and hasn't been actively developed or updated in something like 6 months.
ImageOptim can be configured to reduce the size by a lot more than any of the online tools will. If you're on a Mac, there's no reason to use anything other than ImageOptim and ImageAlpha[1].
The file was modified Oct 21st, which was right before the iPad Mini was announced. As has already been pointed out it's on every other international site too.
Also, the React component is created on each request instead of just being created once. Unless one's goal is to specifically colour the perception of React, I don't understand that decision alongside the code for Pug which precompiles the template a single time.
(Also declaring the map function outside the component and not creating a closure makes for a tiny extra boost.)
It's disappointing to see that the article took off to this extent given how misleading and inaccurate it is.