How to NOT use Assembly 2.2.1. First the human writes the whole thing in a high level language. Second he profiles it to find the hot spots where it spends its time. Fourth he hand tunes them looking for tiny improvements over the machine generated code. The human wins because he can use the machine.
Speed is fairly good.
Slow parts of a program might be intrinsically so. Perhaps a completely different approach to the problem might help, then. There are many reasons to inspect compiler-generated assembly code. The standard way to have assembly code be generated is to invoke your compiler with the -S flag.