Simple benchmark and compare class for php code