Is anyone aware of a good way / Gradle plugin to m...
# community-support
s
Is anyone aware of a good way / Gradle plugin to measure peak memory usage when running functional tests via the CLI?
v
Maybe using the
gradle-profiler
?
s
Hmm, while I continue to forget about the https://github.com/gradle/gradle-profiler tool, isn't that to profile the build itself, not the code under test?
v
I'm not fully sure, never actually used it. But I'd hope it can also profile the test worker process.
Hm, maybe not or if, only explicitly supported ones if I see this: https://github.com/gradle/gradle-profiler/issues/458 😕
Then I guess the best bet might be to set the fork options for the test task to enable profiling in it and use a profiling tool manually
s