I have installed ruby-prof on win32 under cygwin. The flat file output is working great. Changed it to:
printer = RubyProf::CallTreePrinter.new(result)
and it looks like it generates ok. I used an output file cachegrind.out.
I installed kde from windows.kde.org which comes with kcachegrind.exe. But when I use the ruby-prof output it doesn't seem to accept it and claims "no profile data loaded".
I then tried WinCacheGrind from wincachegrind.sourceforge.net and it complains about syntax errors on the blank lines in cachegrind.out.
I tried removing all blank lines from cachegrind.out and reloading it into WinCacheGrind and kcachegrind and didn't get much further.
BTW I used gem install ruby-prof for ruby-prof-0.6.0 windows version and then I tried it again with the non-windows ruby-prof. Again, no luck.
Has anyone gotten this output format to work on win32?
John
|