Viewing the generated assembly of Swift code is critical for performance tuning and usually requires external tools like manually plugging it into a compiler (like godbolt) or some sort of performance analyzer, which isn't really feasible when working with multiple modules. I am aiming to write the optimal Swift code finding the minimum number of instructions that achieve the same outcome.
I am wondering if there is a native way to view the generated assembly in VS Code via a toggle or setting without having to use external resources or the terminal (maybe utilizing other VS Code extensions)? Anything done locally would be optimal, besides manually using swiftc
for every required symbol, and having it in the Swift VS Code extension makes the most sense to me.