You just have to write a tiny part that uses a lot of CPU in C++/asm or anything else.
Much of code's performance isn't really reflected on to the scalability since mostly a tiny part of code is really ran a lot of time, and the other parts are just glues or management stuff or rarely used(not used in scale) features.