Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: d593be6dab32c1ba0421b3ee872be9b1d0b3127f
https://github.com/tribe29/checkmk/commit/d593be6dab32c1ba0421b3ee872be9b1d…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2021-08-06 (Fri, 06 Aug 2021)
Changed paths:
M cmk/gui/metrics.py
M cmk/gui/plugins/views/perfometer.py
Log Message:
-----------
Don't compute whole list for all perfometers
Only the first one will be used, so why build the whole list?
Before this commit the `_perfometer_possible` function was called 41548
times for a list of about 188 perfometers. After this commit the number was
reduced to 12899 times.
SUP-6220
Change-Id: Idb9bcb4ecf03817c2934be03a7b1628cf8145c09