Project

General

Profile

Feature #4214 » inspector_profile_2_10000.txt

Two inspectors with different rules for 10000 events - Rajmund Hruška, 01/04/2021 02:34 PM

 
1
         26897326 function calls (26717326 primitive calls) in 58.110 seconds
2

    
3
   Ordered by: cumulative time
4
   List reduced from 103 to 20 due to restriction <20>
5

    
6
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
7
    10000    2.129    0.000   58.101    0.006 /home/rajmund/mentat-ng/lib/mentat/daemon/component/inspector.py:494(inner_cbk_event_message_process)
8
   230000    0.711    0.000   46.357    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:222(filter)
9
370000/190000    2.976    0.000   43.372    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:459(traverse)
10
   600000    4.729    0.000   41.017    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:484(traverse)
11
   600000    1.493    0.000   26.068    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:196(traverse)
12
   600000    1.055    0.000   24.575    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:277(variable)
13
   600000    9.414    0.000   23.520    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/jpath.py:252(jpath_values)
14
  4202248    5.243    0.000    8.877    0.000 {built-in method builtins.isinstance}
15
   600000    1.617    0.000    6.173    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:295(binary_operation_comparison)
16
    13738    0.124    0.000    5.920    0.000 /usr/lib/python3.7/logging/__init__.py:1496(_log)
17
    11236    0.116    0.000    4.894    0.000 /usr/lib/python3.7/logging/__init__.py:1373(info)
18
   600000    3.433    0.000    4.556    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/traversers.py:651(evaluate_binop_comparison)
19
   600000    1.243    0.000    4.047    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:411(traverse)
20
    13738    0.061    0.000    3.886    0.000 /usr/lib/python3.7/logging/__init__.py:1521(handle)
21
    13738    0.172    0.000    3.798    0.000 /usr/lib/python3.7/logging/__init__.py:1575(callHandlers)
22
  1923618    1.403    0.000    3.634    0.000 /usr/lib/python3.7/abc.py:137(__instancecheck__)
23
    13738    0.095    0.000    3.626    0.000 /usr/lib/python3.7/logging/__init__.py:892(handle)
24
    13738    0.121    0.000    3.418    0.000 /usr/lib/python3.7/logging/handlers.py:471(emit)
25
   600000    0.702    0.000    2.805    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:283(list)
26
    13738    0.046    0.000    2.569    0.000 /usr/lib/python3.7/logging/__init__.py:1123(emit)
27

    
28

    
29
         12930056 function calls (12851970 primitive calls) in 37.419 seconds
30

    
31
   Ordered by: cumulative time
32
   List reduced from 133 to 20 due to restriction <20>
33

    
34
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
35
    10000    1.758    0.000   37.404    0.004 /home/rajmund/mentat-ng/lib/mentat/daemon/component/inspector.py:494(inner_cbk_event_message_process)
36
   180000    0.675    0.000   28.614    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:222(filter)
37
190000/120000    1.552    0.000   21.815    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:459(traverse)
38
   440000    1.210    0.000   15.648    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:196(traverse)
39
   250000    1.465    0.000   15.543    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:547(traverse)
40
   180000    1.701    0.000   15.126    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:484(traverse)
41
   440000    0.869    0.000   14.438    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:277(variable)
42
   440000    5.211    0.000   13.569    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/jpath.py:252(jpath_values)
43
  1972788    3.111    0.000    5.383    0.000 {built-in method builtins.isinstance}
44
     7970    0.101    0.000    4.022    0.001 /usr/lib/python3.7/logging/__init__.py:1373(info)
45
     7970    0.093    0.000    3.914    0.000 /usr/lib/python3.7/logging/__init__.py:1496(_log)
46
     7970    0.060    0.000    2.640    0.000 /usr/lib/python3.7/logging/__init__.py:1521(handle)
47
     7970    0.098    0.000    2.553    0.000 /usr/lib/python3.7/logging/__init__.py:1575(callHandlers)
48
     7970    0.066    0.000    2.455    0.000 /usr/lib/python3.7/logging/__init__.py:892(handle)
49
   575940    1.449    0.000    2.365    0.000 /usr/lib/python3.7/_collections_abc.py:664(__contains__)
50
     7970    0.067    0.000    2.312    0.000 /usr/lib/python3.7/logging/handlers.py:471(emit)
51
   976998    0.837    0.000    2.272    0.000 /usr/lib/python3.7/abc.py:137(__instancecheck__)
52
   180000    0.635    0.000    2.063    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:295(binary_operation_comparison)
53
     7970    0.036    0.000    1.785    0.000 /usr/lib/python3.7/logging/__init__.py:1123(emit)
54
     7970    0.073    0.000    1.749    0.000 /usr/lib/python3.7/logging/__init__.py:1022(emit)
55

    
56

    
(4-4/6)