Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 1a1087ce9f5a5f9d769cba0125237d6639d8f8ec
https://github.com/tribe29/checkmk/commit/1a1087ce9f5a5f9d769cba0125237d663…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-25 (Fri, 25 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/register/utils.py
Log Message:
-----------
Improve base plugin loading performance
This change halves the loading time of the base plugins compared to
the previous approach. The inspect.stack method prepares information
for the whole stack which are not needed here.
We simply want the file of a specific frame which can be fetched in
this minimal way.
Change-Id: I20cb4e8fe2d8e589862333e8428d89aa9e7b7f20
Commit: 90f91b8145a3109f7fa1698e0f82ece6b462ee58
https://github.com/tribe29/checkmk/commit/90f91b8145a3109f7fa1698e0f82ece6b…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-25 (Fri, 25 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/register/_config.py
M cmk/base/api/agent_based/register/utils.py
Log Message:
-----------
Improve base plugin loading performance #2
The validation of the plugin parameters in a ruleset took a lot
of time since the lookups for the plugins of a ruleset were not
optizimied. Now using a simple lookup table for this.
Change-Id: Ie6043a353c48d27ad337801015d4d50df052a1d0
Compare:
https://github.com/tribe29/checkmk/compare/51b90447b2b3...90f91b8145a3