Update profiler.php

1. Added percentage compare.
2. Little bug fix.