Ways to get better

I’m currently making an admin mod which I will release here but I feel like it’ll be too bloated and shitty. I’m making it as modular I can and as easy to add commands as possible, aswell as a custom hook system so people can add functions that get called whenever a command is ran or events like init, loading groups/commands and so on but I feel like half of the stuff I done are unoptimized and are just complete shitte.
Is there any profiler or anything that can help you optimize your code, or a thread hidden somewhere where you can post code and people help you optimize it or should I just make an alpha/beta and release it on github and people can point out stuff I did wrong/useless/whatever.

DBugR is the only and the best profier thing there is.