Adds decorator to compute performance of spoon in plugin.