Profile it with wallclocktime. Basically you can do this to measure how long some events take. Then you can try both ways and compare it.
global number starttime=0
every tick
--- set starttime to wallclocktime
// events to profile
--- set text to wallclocktime-starttime