Project

General

Profile

Feature #4214 » inspector_profile_2.txt

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

 
1
         2693516 function calls (2675516 primitive calls) in 5.204 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
     1000    0.205    0.000    5.204    0.005 /home/rajmund/mentat-ng/lib/mentat/daemon/component/inspector.py:494(inner_cbk_event_message_process)
8
    23000    0.062    0.000    4.160    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:222(filter)
9
37000/19000    0.254    0.000    3.894    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:459(traverse)
10
    60000    0.417    0.000    3.694    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:484(traverse)
11
    60000    0.135    0.000    2.341    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:196(traverse)
12
    60000    0.107    0.000    2.206    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:277(variable)
13
    60000    0.813    0.000    2.100    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/jpath.py:252(jpath_values)
14
   420772    0.466    0.000    0.795    0.000 {built-in method builtins.isinstance}
15
    60000    0.167    0.000    0.580    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:295(binary_operation_comparison)
16
     1412    0.011    0.000    0.511    0.000 /usr/lib/python3.7/logging/__init__.py:1496(_log)
17
     1166    0.011    0.000    0.431    0.000 /usr/lib/python3.7/logging/__init__.py:1373(info)
18
    60000    0.313    0.000    0.413    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/traversers.py:651(evaluate_binop_comparison)
19
    60000    0.117    0.000    0.356    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:411(traverse)
20
     1412    0.009    0.000    0.338    0.000 /usr/lib/python3.7/logging/__init__.py:1521(handle)
21
   192540    0.119    0.000    0.328    0.000 /usr/lib/python3.7/abc.py:137(__instancecheck__)
22
     1412    0.017    0.000    0.326    0.000 /usr/lib/python3.7/logging/__init__.py:1575(callHandlers)
23
     1412    0.008    0.000    0.309    0.000 /usr/lib/python3.7/logging/__init__.py:892(handle)
24
     1412    0.014    0.000    0.290    0.000 /usr/lib/python3.7/logging/handlers.py:471(emit)
25
   101664    0.143    0.000    0.240    0.000 /usr/lib/python3.7/_collections_abc.py:664(__contains__)
26
    60000    0.067    0.000    0.239    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:283(list)
27

    
28

    
29
         1291495 function calls (1283604 primitive calls) in 3.259 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
     1000    0.164    0.000    3.258    0.003 /home/rajmund/mentat-ng/lib/mentat/daemon/component/inspector.py:494(inner_cbk_event_message_process)
36
    18000    0.065    0.000    2.495    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:222(filter)
37
19000/12000    0.147    0.000    1.916    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:459(traverse)
38
    44000    0.118    0.000    1.350    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:196(traverse)
39
    25000    0.131    0.000    1.343    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:547(traverse)
40
    18000    0.169    0.000    1.310    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:484(traverse)
41
    44000    0.069    0.000    1.231    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:277(variable)
42
    44000    0.451    0.000    1.163    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/jpath.py:252(jpath_values)
43
   197103    0.269    0.000    0.464    0.000 {built-in method builtins.isinstance}
44
      775    0.008    0.000    0.364    0.000 /usr/lib/python3.7/logging/__init__.py:1373(info)
45
      775    0.007    0.000    0.355    0.000 /usr/lib/python3.7/logging/__init__.py:1496(_log)
46
      775    0.012    0.000    0.215    0.000 /usr/lib/python3.7/logging/__init__.py:1521(handle)
47
      775    0.008    0.000    0.202    0.000 /usr/lib/python3.7/logging/__init__.py:1575(callHandlers)
48
    97678    0.080    0.000    0.195    0.000 /usr/lib/python3.7/abc.py:137(__instancecheck__)
49
      775    0.005    0.000    0.194    0.000 /usr/lib/python3.7/logging/__init__.py:892(handle)
50
    57550    0.120    0.000    0.188    0.000 /usr/lib/python3.7/_collections_abc.py:664(__contains__)
51
    18000    0.049    0.000    0.184    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:295(binary_operation_comparison)
52
      775    0.006    0.000    0.180    0.000 /usr/lib/python3.7/logging/handlers.py:471(emit)
53
    18000    0.089    0.000    0.135    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/traversers.py:651(evaluate_binop_comparison)
54
      775    0.004    0.000    0.130    0.000 /usr/lib/python3.7/logging/__init__.py:1123(emit)
55

    
56

    
(2-2/6)