mirror of
https://github.com/fleetdm/fleet
synced 2026-05-17 22:18:39 +00:00
- Debounce frontend to reduce number of target searches in live query. - More efficiently calculate label counts in live query and hosts dashboard. Instead of using the (slow) CountHostsInTargets function, retrieve the host counts while looking up the labels. - Optimize targets search query. Removing the nested query retrieves the same logical result set, but substantially optimizes MySQL CPU usage. Testing indicates about a 50% reduction in MySQL CPU usage for the frontend targets search API call after applying this change. |
||
|---|---|---|
| .. | ||
| SelectTargetsInput | ||
| SelectTargetsMenu | ||
| TargetDetails | ||
| TargetOption | ||
| _styles.scss | ||
| index.js | ||
| SelectTargetsDropdown.jsx | ||
| SelectTargetsDropdown.tests.jsx | ||