Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
ruby-prof on windows: strange measured time numbers
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Zhoran Tvalve, post: 4659410"] Hi there, I play with ruby-prof. Profiling those simple-few-dozens-line scripts seems clear, but when I try to profile `rake --tasks`, as follows C:\InstantRails\rails_apps\projectN>"ruby-prof" "--printer=graph_html" "--file=ruby_prof.rake.html" "--min_percent=1.00" "--" "C:\InstantRails\ruby\bin\rake" --tasks I get reported execution total time from 84 to 102 seconds, while it actually took not more than 25 seconds. I set environment wariable RUBY_PROF_CPU_FREQUENCY to various values scaling them 10 times, but it seemes had no influence on execution total time. Also I tried same with --mode key values cpu, wall. How can I get more realistic totals? win xp sp3, core2duo T2300 @1.66GHz ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
ruby-prof on windows: strange measured time numbers
Top