Add a test that measures memory and cpu and posts to elasticsearch
Some research on possible ways to do it can be found here. There is also an issue for that for pytest-benchmark.
Some steps to get this done:
-
add a fixture to measure cpu and memory. -
understand best way to get cpu and memory usage for a period of time -
update output json to include cpu and memory usage. -
decide which stats to calculate for cpu and memory, if any (mean, min, max, etc). - research possible improvements for cpu/memory measurement: #8862
- tune memory sampling interval: #8860 (closed)
- review single measurement accross multiple rounds/iterations: #8861 (closed)
Edited by drebs