Ticket #976: Sample of Colloquy.txt

File Sample of Colloquy.txt, 20.1 KB (added by Scaredy, 5 years ago)
Line 
1Analysis of sampling pid 8347 every 10.000000 milliseconds
2Call graph:
3    300 Thread_0f07
4      300 start
5        300 _start
6          300 NSApplicationMain
7            300 -[NSApplication run]
8              300 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
9                300 _DPSNextEvent
10                  300 BlockUntilNextEventMatchingListInMode
11                    300 ReceiveNextEventCommon
12                      300 RunCurrentEventLoopInMode
13                        300 CFRunLoopRunInMode
14                          299 CFRunLoopRunSpecific
15                            203 __NSFireDelayedPerform
16                              56 -[JVStyleView addBanner:]
17                                56 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:]
18                                  50 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:inModes:]
19                                    20 CFArrayAppendValue
20                                      19 _CFArrayReplaceValues
21                                        19 _CFArrayReplaceValues
22                                      1 CFArrayAppendValue
23                                    14 CFRunLoopAddTimer
24                                      11 mach_port_insert_member
25                                        10 mach_msg_trap
26                                          10 mach_msg_trap
27                                        1 mach_port_insert_member
28                                      2 __CFRunLoopFindMode
29                                        2 CFSetGetValue
30                                          1 CFHash
31                                            1 CFHash
32                                          1 __CFSetFindBuckets1b
33                                            1 __CFStringHash
34                                              1 __CFStringHash
35                                      1 CFSetAddValue
36                                        1 __CFSetFindBuckets2
37                                          1 __CFSetFindBuckets2
38                                    6 mk_timer_arm
39                                      6 mk_timer_arm
40                                    3 mk_timer_create
41                                      3 mk_timer_create
42                                    2 CFEqual
43                                      2 CFEqual
44                                    1 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:inModes:]
45                                    1 CFAbsoluteTimeGetCurrent
46                                      1 gettimeofday
47                                        1 __gettimeofday
48                                          1 __gettimeofday
49                                    1 NSAllocateScannedUncollectable
50                                      1 NSAllocateScannedUncollectable
51                                    1 NSDefaultMallocZone
52                                      1 NSDefaultMallocZone
53                                    1 objc_msgSend
54                                      1 objc_msgSend
55                                  2 +[NSArray arrayWithObject:]
56                                    1 +[NSArray arrayWithObjects:count:]
57                                      1 CFMakeCollectable
58                                        1 CFMakeCollectable
59                                    1 -[NSObject autorelease]
60                                      1 objc_collecting_enabled
61                                        1 objc_collecting_enabled
62                                  2 CFArrayAppendValue
63                                    2 CFArrayAppendValue
64                                  2 objc_msgSend
65                                    2 objc_msgSend
66                              52 -[JVStyleView setEmoticons:]
67                                52 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:]
68                                  49 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:inModes:]
69                                    21 CFArrayAppendValue
70                                      20 _CFArrayReplaceValues
71                                        17 _CFArrayReplaceValues
72                                        2 __spin_lock
73                                          2 __spin_lock
74                                        1 __bzero
75                                          1 __bzero
76                                      1 __CFTypeCollectionRetain
77                                        1 __CFTypeCollectionRetain
78                                    14 CFRunLoopAddTimer
79                                      11 mach_port_insert_member
80                                        11 mach_msg_trap
81                                          11 mach_msg_trap
82                                      1 CFDictionarySetValue
83                                        1 CFDictionarySetValue
84                                      1 CFRunLoopAddTimer
85                                      1 CFSetAddValue
86                                        1 __CFSetFindBuckets2
87                                          1 CFHash
88                                            1 CFHash
89                                    4 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:inModes:]
90                                    3 mk_timer_arm
91                                      3 mk_timer_arm
92                                    2 -[NSView retain]
93                                      2 -[NSView retain]
94                                    2 mk_timer_create
95                                      2 mk_timer_create
96                                    1 NSAllocateScannedUncollectable
97                                      1 malloc_zone_calloc
98                                        1 szone_calloc
99                                          1 szone_calloc
100                                    1 _CFRelease
101                                      1 _CFRelease
102                                    1 __spin_lock
103                                      1 __spin_lock
104                                  2 +[NSArray arrayWithObject:]
105                                    1 +[NSArray arrayWithObject:]
106                                    1 objc_msgSend
107                                      1 objc_msgSend
108                                  1 objc_msgSend
109                                    1 objc_msgSend
110                              36 CFRunLoopRemoveTimer
111                                23 __CFRunLoopTimerCancel
112                                  18 mach_port_extract_member
113                                    18 mach_msg_trap
114                                      18 mach_msg_trap
115                                  3 CFDictionaryRemoveValue
116                                    3 CFDictionaryRemoveValue
117                                  1 __CFDictionaryGrow
118                                    1 __CFDictionaryFindBuckets2
119                                      1 __CFDictionaryFindBuckets2
120                                  1 __i686.get_pc_thunk.bx
121                                    1 __i686.get_pc_thunk.bx
122                                7 mk_timer_cancel
123                                  7 mk_timer_cancel
124                                4 __CFRunLoopFindMode
125                                  4 CFSetGetValue
126                                    4 __CFSetFindBuckets1b
127                                      4 __CFStringHash
128                                        4 __CFStringHash
129                                1 CFRelease
130                                  1 CFRelease
131                                1 CFRunLoopRemoveTimer
132                              35 -[JVStyleView scrollToBottom]
133                                35 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:]
134                                  29 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:inModes:]
135                                    14 CFArrayAppendValue
136                                      14 _CFArrayReplaceValues
137                                        14 _CFArrayReplaceValues
138                                    8 CFRunLoopAddTimer
139                                      5 mach_port_insert_member
140                                        4 mach_msg_trap
141                                          4 mach_msg_trap
142                                        1 mach_msg
143                                          1 mach_msg
144                                      2 CFSetContainsValue
145                                        2 __CFSetFindBuckets1b
146                                          1 CFEqual
147                                            1 CFEqual
148                                          1 CFHash
149                                            1 CFHash
150                                      1 CFDictionarySetValue
151                                        1 CFDictionarySetValue
152                                    2 mk_timer_create
153                                      2 mk_timer_create
154                                    1 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:inModes:]
155                                    1 NSAllocateScannedUncollectable
156                                      1 malloc_zone_calloc
157                                        1 memset
158                                          1 memset
159                                    1 __CFRunLoopFindMode
160                                      1 __CFRunLoopFindMode
161                                    1 __spin_lock
162                                      1 __spin_lock
163                                    1 mk_timer_arm
164                                      1 mk_timer_arm
165                                  4 +[NSArray arrayWithObject:]
166                                    3 +[NSArray arrayWithObjects:count:]
167                                      3 -[NSPlaceholderArray initWithObjects:count:]
168                                        2 CFArrayCreate
169                                          2 __CFArrayInit
170                                            2 _CFRuntimeCreateInstance
171                                              2 malloc_zone_malloc
172                                                1 malloc_zone_malloc
173                                                1 szone_malloc
174                                                  1 szone_malloc
175                                        1 -[NSPlaceholderArray initWithObjects:count:]
176                                    1 -[NSObject autorelease]
177                                      1 NSAutoreleaseObject
178                                        1 objc_collecting_enabled
179                                          1 objc_collecting_enabled
180                                  2 CFArrayAppendValue
181                                    2 CFArrayAppendValue
182                              7 _setjmp
183                                7 _setjmp
184                              4 NSPopAutoreleasePool
185                                2 NSPopAutoreleasePool
186                                1 __i686.get_pc_thunk.bx
187                                  1 __i686.get_pc_thunk.bx
188                                1 objc_assign_strongCast
189                                  1 objc_assign_strongCast
190                              3 objc_msgSend
191                                3 objc_msgSend
192                              2 NSPushAutoreleasePool
193                                1 _NSCurrentThread
194                                  1 _NSCurrentThread
195                                1 pthread_getspecific
196                                  1 pthread_getspecific
197                              2 __NSFireDelayedPerform
198                              1 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:]
199                                1 -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:]
200                              1 0xa26190a5
201                                1 0xa26190a5
202                              1 CFArrayRemoveValueAtIndex
203                                1 _CFArrayReplaceValues
204                                  1 _CFArrayReplaceValues
205                              1 _NSAddHandler2
206                                1 _NSAddHandler2
207                              1 getpid
208                                1 getpid
209                              1 objc_exception_try_exit
210                                1 objc_exception_try_exit
211                            23 __CFRunLoopDoObservers
212                              5 __NSPortDelegateTickler
213                                5 +[NSConnection doQueuedWork]
214                                  2 +[NSConnection doQueuedWork]
215                                  1 -[NSLock unlock]
216                                    1 pthread_mutex_unlock
217                                      1 pthread_mutex_unlock
218                                  1 pthread_cond_broadcast
219                                    1 pthread_cond_broadcast
220                                  1 pthread_mutex_lock
221                                    1 pthread_mutex_lock
222                              4 _CFRelease
223                                3 szone_free
224                                  3 szone_free
225                                1 malloc_zone_free
226                                  1 malloc_zone_free
227                              3 FlushAllBuffers(__CFRunLoopObserver*, CFRunLoopActivity, void*)
228                                2 CFAbsoluteTimeGetCurrent
229                                  2 gettimeofday
230                                    2 __gettimeofday
231                                      1 __gettimeofday
232                                      1 __nanotime
233                                        1 __nanotime
234                                1 GetCurrentEventTime
235                                  1 Microseconds
236                                    1 AbsoluteToNanoseconds
237                                      1 AbsoluteToNanoseconds
238                              2 CFSetApplyFunction
239                                1 CFArrayAppendValue
240                                  1 _CFArrayReplaceValues
241                                    1 _CFArrayReplaceValues
242                                1 CFSetApplyFunction
243                              2 NSPopAutoreleasePool
244                                2 NSPopAutoreleasePool
245                              2 __CFArrayInit
246                                2 _CFRuntimeCreateInstance
247                                  1 _CFRuntimeCreateInstance
248                                  1 malloc_zone_malloc
249                                    1 szone_malloc
250                                      1 szone_malloc
251                              1 CFAbsoluteTimeGetCurrent
252                                1 CFAbsoluteTimeGetCurrent
253                              1 _CFRuntimeCreateInstance
254                                1 _CFRuntimeCreateInstance
255                              1 __CFAllocatorSystemDeallocate
256                                1 __CFAllocatorSystemDeallocate
257                              1 _setjmp
258                                1 _setjmp
259                              1 malloc_zone_free
260                                1 malloc_zone_free
261                            22 mk_timer_destroy
262                              22 mk_timer_destroy
263                            19 mach_msg_trap
264                              19 mach_msg_trap
265                            13 __CFRunLoopModeFindSourceForMachPort
266                              13 CFSetApplyFunction
267                                7 __CFRunLoopFindSource
268                                  5 __CFRunLoopFindSource
269                                  2 getpid
270                                    2 getpid
271                                3 CFSetApplyFunction
272                                2 __spin_lock
273                                  2 __spin_lock
274                                1 __CFMachPortGetPort
275                                  1 __CFMachPortGetPort
276                            9 CFRunLoopTimerInvalidate
277                              8 __delayedPerformCleanup
278                                4 _CFRelease
279                                  2 szone_free
280                                    2 szone_free
281                                  1 __CFArrayReleaseValues
282                                    1 __CFArrayReleaseValues
283                                  1 malloc_zone_free
284                                    1 malloc_zone_free
285                                2 szone_free
286                                  2 szone_free
287                                1 __delayedPerformCleanup
288                                1 _spin_unlock
289                                  1 _spin_unlock
290                              1 CFRunLoopTimerInvalidate
291                            2 CFSetApplyFunction
292                              2 CFSetApplyFunction
293                            1 0xa0812078
294                              1 0xa0812078
295                            1 CFRunLoopGetCurrent
296                              1 CFRunLoopGetCurrent
297                            1 CFRunLoopRunSpecific
298                            1 _CFRelease
299                              1 CFRunLoopTimerInvalidate
300                                1 0xa0812078
301                                  1 0xa0812078
302                            1 __CFRunLoopCollectSources0
303                              1 __CFRunLoopCollectSources0
304                            1 __delayedPerformCleanup
305                              1 __delayedPerformCleanup
306                            1 _setjmp
307                              1 _setjmp
308                            1 mach_absolute_time
309                              1 mach_absolute_time
310                          1 CFRunLoopTimerInvalidate
311                            1 CFRunLoopTimerInvalidate
312    300 Thread_1003
313      300 _pthread_body
314        300 __ape_agent
315          300 mach_msg_trap
316            300 mach_msg_trap
317    300 Thread_1103
318      300 _pthread_body
319        300 forkThreadForFunction
320          300 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
321            300 CFRunLoopRunInMode
322              300 CFRunLoopRunSpecific
323                300 mach_msg_trap
324                  300 mach_msg_trap
325    300 Thread_1203
326      300 _pthread_body
327        300 select
328          300 select
329    300 Thread_1303
330      300 _pthread_body
331        300 forkThreadForFunction
332          300 -[MVIRCChatConnection(MVIRCChatConnectionPrivate) _ircRunloop]
333            300 -[NSRunLoop runMode:beforeDate:]
334              300 CFRunLoopRunInMode
335                300 CFRunLoopRunSpecific
336                  300 mach_msg_trap
337                    300 mach_msg_trap
338    300 Thread_1403
339      300 _pthread_body
340        300 forkThreadForFunction
341          300 +[NSURLCache _diskCacheSyncLoop:]
342            300 CFRunLoopRunInMode
343              300 CFRunLoopRunSpecific
344                300 mach_msg_trap
345                  300 mach_msg_trap
346    300 Thread_1503
347      300 _pthread_body
348        300 CAPThread::Entry(CAPThread*)
349          300 HALRunLoop::OwnThread(void*)
350            300 CFRunLoopRunInMode
351              300 CFRunLoopRunSpecific
352                300 mach_msg_trap
353                  300 mach_msg_trap
354    300 Thread_1603
355      300 _pthread_body
356        300 forkThreadForFunction
357          300 +[WebFileDatabase _syncLoop:]
358            300 -[NSRunLoop run]
359              300 -[NSRunLoop runMode:beforeDate:]
360                300 CFRunLoopRunInMode
361                  300 CFRunLoopRunSpecific
362                    300 mach_msg_trap
363                      300 mach_msg_trap
364
365Total number in stack (recursive counted multiple, when >=5):
366        11       mach_msg_trap
367        7       _pthread_body
368        6       CFArrayAppendValue
369        6       CFRunLoopRunInMode
370        6       CFRunLoopRunSpecific
371        5       _CFArrayReplaceValues
372        5       objc_msgSend
373
374Sort by top of stack, same collapsed (when >= 5):
375        mach_msg_trap        1862
376        select        300
377        _CFArrayReplaceValues        52
378        mk_timer_destroy        22
379        mk_timer_arm        10
380        _setjmp        9
381        objc_msgSend        8
382        mk_timer_cancel        7
383        mk_timer_create        7
384        szone_free        7
385        -[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:inModes:]        6
386        CFSetApplyFunction        6
387        __spin_lock        6
388        CFArrayAppendValue        5
389        __CFRunLoopFindSource        5
390        __CFStringHash        5
391Sample analysis of process 8347 written to file /dev/stdout
392Sampling process 8347 each 10 msecs 300 times