add a compile-time option to monitor plugin timing

this is very useful when running a complex pipeline as it shows the relative
cost of each plugin in the chain and may help direct optimization efforts