Test Ide Performance Task
Runs performance tests on the IDE with the developed plugin installed.
This task runs against the IntelliJ Platform and plugins specified in project dependencies. To register a customized task, use IntelliJPlatformTestingExtension.testIdePerformance instead.
The TestIdePerformanceTask task extends the JavaExec task and implements RunnableIdeAware, so all configuration attributes of JavaExec and RunIdeTask tasks can be used in the TestIdePerformanceTask as well. See RunIdeTask task for more details.
Currently, the task is under adaptation; more documentation will be added in the future.
See also
Properties
Path to the directory where performance test artifacts (IDE logs, snapshots, screenshots, etc.) will be stored. If the directory doesn't exist, it will be created.
Enables auto-reload of dynamic plugins. Dynamic plugin will be reloaded automatically when its content is modified.
The path to the coroutines Java Agent file.
Holds the Configurations.INTELLIJ_PLATFORM_CLASSPATH configuration.
Holds the Configurations.INTELLIJ_PLATFORM_DEPENDENCY configuration with the IntelliJ Platform dependency added. It should not be directly accessed.
Holds the Configurations.INTELLIJ_PLATFORM_PLUGIN_DEPENDENCY configuration with the optional custom IntelliJ Platform plugins dependencies added. It should not be directly accessed.
Holds the Configurations.INTELLIJ_PLATFORM_TEST_CLASSPATH configuration, which by default contains Configurations.INTELLIJ_PLATFORM_DEPENDENCY, Configurations.INTELLIJ_PLATFORM_DEPENDENCIES, and Configurations.INTELLIJ_PLATFORM_TEST_DEPENDENCIES configurations.
Holds the Configurations.INTELLIJ_PLATFORM_TEST_RUNTIME_CLASSPATH configuration.
Holds the Configurations.INTELLIJ_PLATFORM_TEST_RUNTIME_FIX_CLASSPATH configuration with the custom IntelliJ Platform core dependency required for running tests. It should not be directly accessed.
Holds the Configurations.JETBRAINS_RUNTIME configuration with the JetBrains Runtime dependency added. It should not be directly accessed.
Provides access to the IntelliJ Platform dependency artifact path.
Specifies the directory where the plugin artifacts are to be placed.
Provides information about the IntelliJ Platform product. The information is retrieved from the product-info.json file in the IntelliJ Platform directory.
Name of the profiler that will be used during execution.
An architecture of the Java Runtime currently used for running Gradle.
Java Runtime parent directory.
A custom JavaLauncher instance configured with the resolved runtimeDirectory.
Metadata object of the Java Runtime currently used for running Gradle.
A configuration directory located within the sandboxDirectory.
The directory containing content read and produced by the running IDE.
A log directory located within the sandboxDirectory.
A plugins directory located within the sandboxDirectory.
A system directory located within the sandboxDirectory.
Path to the directory with test projects and '.ijperf' files.
Defines if the current sandbox is related to testing.
Functions
Validates that the resolved IntelliJ Platform is supported by checking against the minimal supported IntelliJ Platform version.