Timing of plugins and removal of time hogs