The differences tend not to be all that great provided that the back end code generator has a reasonably good optimiser. You can find some bad older compilers if you look hard enough but most modern optimisers these days can turn sensible code into tight assembler.
Attempting to micromanage things in a HLL sometimes confuses optimisers.
The snag may come at link time where with some languages it is possible to inadvertently use a feature that imports the kitchen sink and some.