Technlogy changes fast!
And it’s a blatant fact.
And with changing technology opinions, benchmarks and blog posts become obsolete, fast.
I was reading a blog post recently about adding some performance related gems to improve rails’s performace. It’s a very nice, detailed article with benchmarks.
Instead of just blindly adding the suggested gems to the project, I ran the scripts again and found that:
escape_utilsgem makes things worse on
rails 5, so no point in adding it.
fast_blankgem, on the other hand, makes things slightly better, so definitely worth adding. With slightly better I mean you are able to make more requests/sec.
jemallocgem didn’t install for
ruby 2.3.1at all.
Well, the point of this short blog post was to make you aware that blog posts go out of date and sometimes it’s necessary to re-evaluate the findings and ensure you are adding the gems for the right reasons.
Hope it helps!