From 51195757df63bc35cbdb26123ce315489fe2df4e Mon Sep 17 00:00:00 2001 From: Anna Koehler Date: Mon, 11 Dec 2023 10:19:50 +0100 Subject: [PATCH] [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 --- .../performanceTesting/commands/generalCommandChain.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/generalCommandChain.kt b/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/generalCommandChain.kt index 30a7c71197f8..bbb58395b359 100644 --- a/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/generalCommandChain.kt +++ b/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/generalCommandChain.kt @@ -225,12 +225,12 @@ fun T.startProfile(args: String): T = apply { addCommand("${CMD_PREFIX}startProfile $args") } -fun T.startProfile(args: String, profilerParams: String): T = apply { - addCommand("${CMD_PREFIX}startProfile $args $profilerParams") +fun T.startProfile(profileFileName: String, profilerParams: String): T = apply { + addCommand("${CMD_PREFIX}startProfile $profileFileName $profilerParams") } -fun T.stopProfile(args: String = "jfr"): T = apply { - addCommand("${CMD_PREFIX}stopProfile $args") +fun T.stopProfile(profilerParams: String = "jfr"): T = apply { + addCommand("${CMD_PREFIX}stopProfile $profilerParams") } fun T.memoryDump(): T = apply {