Added benchmark tests for the different object and function types.