GradleExecuterBackedSession.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extract performance test fixtures to separate project

    • -81
    • +0
    ./GradleExecuterBackedSession.groovy
  1. … 248 more files in changeset.
Fix allowance for failed builds being run as performance tests.

Allow builds being run for performance tests to fail.

    • -8
    • +13
    ./GradleExecuterBackedSession.groovy
  1. … 4 more files in changeset.
Renamed `GradleExecuter.requireGradleHome` -> `requireGradleDistribution`

  1. … 29 more files in changeset.
Renamed `GradleExecuter.withDeprecationChecksDisabled()` to reflect its new contract.

  1. … 27 more files in changeset.
Code cleanup: remove some duplication in the way tests are executed

  1. … 7 more files in changeset.
add interface for intercepting build experiment invocations

features:

- execute some action before and after invocation with the information about the current test invocation

- can add build invocation arguments per invocation

- ability to omit measurements

+review REVIEW-5686

  1. … 12 more files in changeset.
add option to programmaticly take a heap dump in perf tests - this is useful in investigating memory usage regressions

  1. … 6 more files in changeset.
Keep Yourkit profiler changes confined to invocation spec

+review REVIEW-5607

    • -17
    • +1
    ./GradleExecuterBackedSession.groovy
  1. … 10 more files in changeset.
use performance test project and display name in YJP sessionname

+review REVIEW-5607

    • -4
    • +10
    ./GradleExecuterBackedSession.groovy
  1. … 3 more files in changeset.
add YourkitSupport helper for adding YJP arguments

+review REVIEW-5607

    • -1
    • +10
    ./GradleExecuterBackedSession.groovy
  1. … 5 more files in changeset.
Replaced `GradleExecutor.withNoDefaultJvmArgs()` with `useDefaultBuildJvmArgs()` and fixed implementation to honour this properly in all the implementations. Also changed implementations to consider `--daemon` and `--no-daemon` args when deciding whether the daemon is required or not.

  1. … 9 more files in changeset.
Replaced GradleExecutor.withGradleOpts() with withBuildJvmOpts(), which has a stronger contract that better matches the intention of the tests.

  1. … 22 more files in changeset.
Don't reuse a GradleExecuter instance for a session.

Executers are implicitly reset after use.

  1. … 3 more files in changeset.
Add a performance benchmark variant that executes through the tooling API.

    • -0
    • +78
    ./GradleExecuterBackedSession.groovy
  1. … 10 more files in changeset.