staabm / xhprof.io

Maintained fork of xhprof.io: GUI to analyze the profiling data collected using XHProf – A Hierarchical Profiler for PHP.
Other
42 stars 10 forks source link

- Add support for profiling CLI scripts #35

Closed mdevine82 closed 9 years ago

mdevine82 commented 9 years ago

Pretty standard stuff. I decided to use gethostname() because using the posix command wouldn't work on Windows if I'm not mistaken.

Let me know your thoughts.

staabm commented 9 years ago

looks good to me. could you please rebase the comit?

did you test it with a real script?

mdevine82 commented 9 years ago

Yeah I tested is with a CLI script and it worked well for me.

staabm commented 9 years ago

@mdevine82 thank you.