monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Profiling with callgraph


From: Timothy Brownawell
Subject: [Monotone-devel] Profiling with callgraph
Date: Fri, 29 Apr 2005 13:59:33 -0500

I've been playing with profiling, and have some callgraph profiles
that might be useful. I used --callgraph=10 for these. I also tried
with higher numbers, and got percentages over 100.

Files are at https://netfiles.uiuc.edu/brownawe/www/profiles/ , here's
a few excerpts:

Pull / serve net.venge.monotone : 29:52 (minutes:seconds, P4 @ 2.4 GHz)
  self     %        child    %        image name               symbol name
1165      0.0081  6362698  44.0599  monotone                
check_sane_history(...)
12274     0.0850  5920260  40.9961  monotone                
apply_change_set(...)
44786     0.3101  5337907  36.9635  monotone                
concatenate_change_sets(...)
32358     0.2241  2571359  17.8059  monotone                
change_set::check_sane(...) const
932       0.0065  2537749  17.5732  monotone                
change_set::path_rearrangement::check_sane(...) const
1000279   6.9266  0              0  libc-2.3.2.so            __GI___strcasecmp
798701    5.5308  0              0  libpthread-0.60.so      
__pthread_mutex_unlock_usercnt
681991    4.7226  0              0  libc-2.3.2.so           
_wordcopy_bwd_aligned
609800    4.2227  0              0  libpthread-0.60.so      
__pthread_mutex_lock_internal


Commit the kernel to an empty db : 3:30 (kernel 2.6.11)
  self     %        child    %        image name               symbol name
10       8.1e-04  242535   19.7484  monotone                
change_set::path_rearrangement::check_sane(...) const
124215   10.1142  13176     1.0729  monotone                
CryptoPP::Deflator::LongestMatch(...) const
107305    8.7373  0              0  monotone                
CryptoPP::SHA::Transform(...)


Commit a small patch to the kernel : 1:1 (patch to 2.6.11.7)
  self     %        child    %        image name               symbol name
0              0  87109    24.8252  monotone                
check_sane_history(...)
4         0.0011  84766    24.1574  monotone                
change_set::path_rearrangement::check_sane(...) const
49523    14.1135  0              0  monotone                
CryptoPP::SHA::Transform(...)
23506     6.6990  0              0  libpthread-0.60.so      
__pthread_mutex_unlock_usercnt
19755     5.6300  0              0  libc-2.3.2.so           
_wordcopy_bwd_aligned
17193     4.8998  0              0  libpthread-0.60.so      
__pthread_mutex_lock_internal
14680     4.1836  0              0  monotone                
boost::dynamic_bitset<...>::reset(...)



Tim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]