I want something like this:
Simplest way to profile a PHP script
But I can't install APD because I use windows and can't find any Windows binary for APD :(
Can I do that with XDebug? If yes, how?
Right now I use WAMP with PHP 5.3.9 (has Xdebug enabled)
SET those variable :
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = /some/directory
Open your the generated file with something like kcachegrind on linux, you could try WinCacheGrind on windows.
More information here.