implemented rpc calls profiler