As pointed out in the article, Firefox performance has been steadily improving for years. It's not exactly on Mozilla that specific sites are optimized specifically for their rival's product.
Firefox has less than 2% market share. It is absolutely on Mozilla to seek out the most used sites with performance problems and fix the browser so they are fast.