Satyarth Sampath
08/22/2024, 8:26 AMGabriel Feo
10/11/2024, 4:15 PMtasks.withType(Test).configureEach { task ->
jvmArgs("...")
}
}
Where you can add a profiling agent such as async-profiler
(agent usage) or JFR.
tasks.withType(Test).configureEach { task ->
jvmArgs("-agentpath:/path/to/libasyncProfiler.so=start,event=cpu,file=profile.html")
}
}