merged from https://github.com/robocoder/xhprof/commit/a29189dd51f6c8cf3939ac6ee10e90139aabb8f4