[func-tests] fix start/stop profiling in ruby tests + fix launching test locally (should be run on the sources, instead of public available release)

GitOrigin-RevId: 57efb136d0b19a5a14b1c3c874cbce6ef3dbb4b3
This commit is contained in:
Anna Koehler
2023-12-11 11:27:35 +00:00
committed by intellij-monorepo-bot
parent e6571d2fc3
commit 51195757df
@@ -225,12 +225,12 @@ fun <T : CommandChain> T.startProfile(args: String): T = apply {
addCommand("${CMD_PREFIX}startProfile $args")
}
fun <T : CommandChain> T.startProfile(args: String, profilerParams: String): T = apply {
addCommand("${CMD_PREFIX}startProfile $args $profilerParams")
fun <T : CommandChain> T.startProfile(profileFileName: String, profilerParams: String): T = apply {
addCommand("${CMD_PREFIX}startProfile $profileFileName $profilerParams")
}
fun <T : CommandChain> T.stopProfile(args: String = "jfr"): T = apply {
addCommand("${CMD_PREFIX}stopProfile $args")
fun <T : CommandChain> T.stopProfile(profilerParams: String = "jfr"): T = apply {
addCommand("${CMD_PREFIX}stopProfile $profilerParams")
}
fun <T : CommandChain> T.memoryDump(): T = apply {