Add initial support for benchmarking within WordPress.

Signed-off-by: Peter Chester <peter@tri.be>