Add profiling to dispatchChanges script.

Change-Id: Iebe11848b9ce0414e56c31d43c5f217d379725cd
Merge "Add profiling to dispatchChanges script."