Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
114 stars 179 forks source link

[Perf] Add CPU, Memory, and Network Throughput metrics to perf automation #3971

Open mikeharder opened 2 years ago

mikeharder commented 2 years ago

The perf automation should collect CPU and memory metrics of the spawned process(es), and include it in the results, like so:

image

For JS and Python, we will need to sum the memory and CPU of the child processes.

benbp commented 2 years ago

I think we will need to come up with a way to convert the CPU to some non-percentage value before publishing (e.g. x.y cores used). Otherwise if we ever change the VM SKU the metrics will not be historically comparable.