How would I report a bug that I found while looking in the decompiled source of UnityEngine?

Lets say that I found a performance issue in UnityEngine while browsing the decompiled source code. Where would I submit this as a bug report? would I just do that through the editor?

Yes. Go Help → Report a Bug, as described at Unity QA - Bug Reporting - Unity