commit 36ea9d6da9d44740cfb2cbe421722ead9da6b3ad
Author: Thomas Morin <email address hidden>
Date: Wed May 30 17:46:07 2018 +0200
avoid parsing heat.conf for each Heat resource
This moves heat configuration parsing to module loading time.
Parsing the config for each resource does not seem to be
useful, and profiling with pyflame shows that it is a significant
hit, measurable in tens of seconds on heat stack with a large
number of Contrail heat resources.
Change-Id: Iad81d60e63fdfb554e6c42dbcdf58848586984f1
Closes-Bug: 1779078
(cherry picked from commit df5389e5bda19a0ff5cbebc82c0b892394331ef8)
Reviewed: https:/ /review. opencontrail. org/46343 github. com/Juniper/ contrail- heat/commit/ 36ea9d6da9d4474 0cfb2cbe421722e ad9da6b3ad
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit 36ea9d6da9d4474 0cfb2cbe421722e ad9da6b3ad
Author: Thomas Morin <email address hidden>
Date: Wed May 30 17:46:07 2018 +0200
avoid parsing heat.conf for each Heat resource
This moves heat configuration parsing to module loading time.
Parsing the config for each resource does not seem to be
useful, and profiling with pyflame shows that it is a significant
hit, measurable in tens of seconds on heat stack with a large
number of Contrail heat resources.
Change-Id: Iad81d60e63fdfb 554e6c42dbcdf58 848586984f1 ff5cbebc82c0b89 2394331ef8)
Closes-Bug: 1779078
(cherry picked from commit df5389e5bda19a0