This message was deleted.
# community-support
s
This message was deleted.
c
Depending on the system configuration (available memory, CPUs) and size of project it wouldn’t be unusual for a Gradle build to consume CPU & memory, resulting in other resource exhaustion that affects other apps. Monitoring CPU and memory usage will help quantify this.
m
You might also have some success attempting to use
org.gradle.priority=low
as documented here.
e
Monitoring CPU and memory usage will help quantify this.
We already did this, in fact, we have 2 months data of it. Now we need a formula for the metric that will tell us if a user have seamless experience when they executing a build or not.
You might also have some success attempting to use
org.gradle.priority=low
as documented here.
Yes, this is one of many things that we can do to improve the experience. But how can we measure it?
m
The answer to that would necessarily be OS specific. One critical metric would be your build durations. i.e., you down-prioritize system resources the build will get longer. That can be easily measured with Gradle Enterprise build scans. If you're looking at system-level metrics you could investigate how to measure process/task scheduling latency to measure CPU delays. There are similar tools for I/O delivery latency as well.
netdata is a pretty useful tool for gathering and rendering pretty much every meaningful system metric under the sun. There are other similar tools as well.
e
Thanks for the answer Mike, but as I mention in the original post, we already gather the data and all (minus the I/O data). The problem is, how we can translate or use that data to determine if the user have a slow IDE performance. One of my test, using multiple process of
yes > /dev/null
can make a spike in CPU utilization, but not necessarily slow down the machine or IDE specifically.