Export profiler / profiling result Rafael Biermann 创建于 2016年07月27日 11:46 Hi there, I'd like to export the result of a profiling run (in my case: php / PHPStorm). I'd like to see it, to make better before/after comparisons regarding code optimizations. Any chance to get that?
If only I understand your needs correctly, you can copy the cachegrind.opt file after every profiler run so it can be analyzed later.
Well, I mean a profiler run, started by the bookmarklet "Start profiler" and reloading that specific page.
Where do I find that file? Can't see it actually.
Hi,
According to https://xdebug.org/docs/all_settings#profiler_output_dir , it defaults to your "tmp" directory if you did not specify it in php.ini manually.
I'm using Zend Debugger, not XDebug.
Oh. Then there's no way to save the profiling snapshot within PhpStorm, and I can't say whether it's supported by Zend themselves.
If you find it crucial, please submit it as a feature request: https://youtrack.jetbrains.com/issues?q=project%3A+PhpStorm#newissue
Will do.
Thanks for you kind help (both)!