Add function overhead benchmark