I've been freelancing for 5 weeks at a Rails shop where I just learned today that the "Technical Lead" of a team of about a half dozen engineers, never applies indexes to the databases backing the websites being developed. I have a week left on my contract and have no idea if they intend on offering an extension. I feel like I owe it to the director who hired me to report this, but realize that if it trickles down to the team/lead, it will sour relations.
But I feel adamantly that it does need to be reported, and a policy developed regarding using database indexes. Bear in mind this is complicated by the fact that I previously worked for this same company directly as a salaried employee a year and a half ago, and at that time I profiled a couple of applications for them for major clients, and discovered horrendous performance issues. Both those accounts were lost, one before, one shortly after, the first time I left, and now a mere fraction of the employees work there than used to. We are starting to land clients of the same stature again, and I fear that the same continued lackadaisical attitude toward performance could literally mean the end of this company.
Thanks in advance for any advice.