neutron/neutron/profiling
Miguel Lavalle eb3302207f Add profiler decorator to Neutron
This patch proposes a decorator to be used to profile code with
cProfile. Config options are added to control whether the code is
profiled or not. The default is no profiling performed.

The decorator is then used in the Neutron API base and Pecan controllers
for the index, show, create, delete and update operations. The rpc_loop
method of the OVS agent is also decorated.

Finally, profiling is enabled for neutron-rally-task.

Change-Id: I5c847a255b4b973add7fce5a38a2594912c491ac
2019-10-31 10:05:01 -05:00
..
__init__.py Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
profiled_decorator.py Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00