I want to improve PhotonHandler CPU usage. How can I do that?

It seems that PhotonHandler CPU usage is directly related to the amount of messages being sent and received. (please correct me if I am wrong). How can I profile and figure out where most of the messages are coming from and being received?

Also does PhotonTransformView go through PhotonHandler also? I don't think so because it is a stream rather than an RPC right?

So then if that's the case I just need a way to find where most of the RPCs are coming from.