Project

General

Profile

Feature #4214 » inspector_profile.txt

One inspector with combined rules for 1000 events - Rajmund Hruška, 01/04/2021 02:03 PM

 
1
         3981201 function calls (3955273 primitive calls) in 7.504 seconds
2

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

    
6
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
7
     1000    0.283    0.000    7.504    0.008 /home/rajmund/mentat-ng/lib/mentat/daemon/component/inspector.py:496(inner_cbk_event_message_process)
8
    41000    0.106    0.000    5.990    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:222(filter)
9
56000/31000    0.358    0.000    5.214    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:459(traverse)
10
    78000    0.520    0.000    4.585    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:484(traverse)
11
   104000    0.211    0.000    3.330    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:196(traverse)
12
   104000    0.147    0.000    3.119    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:277(variable)
13
   104000    1.155    0.000    2.972    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/jpath.py:252(jpath_values)
14
   618586    0.678    0.000    1.147    0.000 {built-in method builtins.isinstance}
15
    25000    0.110    0.000    1.130    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:547(traverse)
16
     2105    0.016    0.000    0.706    0.000 /usr/lib/python3.7/logging/__init__.py:1496(_log)
17
     2019    0.016    0.000    0.690    0.000 /usr/lib/python3.7/logging/__init__.py:1373(info)
18
    78000    0.186    0.000    0.683    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/filters.py:295(binary_operation_comparison)
19
    78000    0.372    0.000    0.498    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/traversers.py:651(evaluate_binop_comparison)
20
   290781    0.175    0.000    0.470    0.000 /usr/lib/python3.7/abc.py:137(__instancecheck__)
21
     2105    0.010    0.000    0.463    0.000 /usr/lib/python3.7/logging/__init__.py:1521(handle)
22
     2105    0.020    0.000    0.450    0.000 /usr/lib/python3.7/logging/__init__.py:1575(callHandlers)
23
     2105    0.012    0.000    0.430    0.000 /usr/lib/python3.7/logging/__init__.py:892(handle)
24
    67000    0.129    0.000    0.419    0.000 /home/rajmund/mentat-ng/venv/lib/python3.7/site-packages/pynspect/rules.py:411(traverse)
25
     2105    0.012    0.000    0.402    0.000 /usr/lib/python3.7/logging/handlers.py:471(emit)
26
   159452    0.245    0.000    0.387    0.000 /usr/lib/python3.7/_collections_abc.py:664(__contains__)
27

    
28

    
(1-1/6)