Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 4e93800c4e3070464132f9d9fa1fb551b6d804ee
https://github.com/tribe29/checkmk/commit/4e93800c4e3070464132f9d9fa1fb551b…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2021-08-09 (Mon, 09 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