In the our declarative configs for the events and meters we use
same fields for the many times. Despite this fact all fields are
parsed by ExtentedJsonPathParser again and again.
It affect time of notification agent starting and create additional
cpu load.
This patch is a trying to make this process faster and lighter.
Reviewed: https:/ /review. openstack. org/285431 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=024931b541f 2c535dd2ca4f0de b300da47c801b0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 024931b541f2c53 5dd2ca4f0deb300 da47c801b0
Author: Ilya Tyaptin <email address hidden>
Date: Fri Feb 26 19:52:10 2016 +0300
Cache getters for the decalarative definitions
In the our declarative configs for the events and meters we use hParser again and again.
same fields for the many times. Despite this fact all fields are
parsed by ExtentedJsonPat
It affect time of notification agent starting and create additional
cpu load.
This patch is a trying to make this process faster and lighter.
Change-Id: Ib190b5977688cd f48cc454ff133dd 81ff5576310
Closes-bug: #1550436