Add performance tests for rpc related stuff.