Lately it's been really hard trying to cope up with derogatory comments and people trying to pull you down.
I build/refactored some of our codebase and things go south in terms of performance at few places.
I realised the mistake and fixed the performance bottlenecks that happened because of me in least time possible.
But people still look down on me on and manager keeps passing hurtful comments about the incident every now and then.
Moreover there's worse happening fellow people start blaming you for the performance of code you haven't even touched. You are just utilizing some function in your codebase written by some other person.
I don't know how to handle all this and what should I do to avoid this?
Mistakes happen, bugs go on prod, things can break but as far as once everything stabilise, we should move on.