This will be the case in many types of applications, because you are right, in general the overhead of stacks and function evaluation is a small proportion of any small amount of code (unless it is a highly performant piece of small code like mathematical calculation).