Add benchmark support for runtime functions.