Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Florian Ebeling
RE: Times don't add up [ reply ]  
2009-05-19 10:47
A paste honoring the formatting is here: http://pastie.org/482608

By: Florian Ebeling
Times don't add up [ reply ]  
2009-05-19 10:42
I have a test example, where the times summed up from call contexts and the times of child calls don't add up to the same sum. I suspect a bug here, or do I miss something?

--------------------------------------------------------------------------------
0.09 0.05 0.00 0.04 1000/61001 Frontend::Response#close
3.59 0.01 0.00 3.58 1000/61001 Frontend::UserHistory#click_histories_for_network
0.00 0.00 0.00 0.00 1/61001 Enumerable#inject
1.14 0.69 0.00 0.45 1000/61001 Enumerable#map
105.79 64.64 0.00 41.16 58000/61001 Prediction::Profile::SvmModel#create_user
57.30% 33.87% 110.61 65.39 0.00 45.23 61001 Hash#each
0.21 0.21 0.00 0.00 79000/288280 Fixnum#to_s
0.00 0.00 0.00 0.00 5/59084 String#to_sym
11.90 11.90 0.00 0.00 5457000/11305001 Hash#[]
0.02 0.02 0.00 0.00 6000/6000 TestHTTPResponse#header
0.24 0.24 0.00 0.00 79000/80001 Symbol#to_s
3.58 1.34 0.00 2.24 1000/1000 Hash#each-1
12.71 12.71 0.00 0.00 5568000/5672000 Hash#include?
16.57 16.57 0.00 0.00 5463005/6070086 Hash#[]=
--------------------------------------------------------------------------------

Running 0.7.3 of ruby-prof, using ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9] on Mac OS X 10.5.7.