AbstractToolingApiCrossVersionPerformanceTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove GFileUtils.cleanDirectory()

    • -1
    • +2
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 6 more files in changeset.
Fix issue of worker build failing abnormally (#10249)

This fixes https://github.com/gradle/gradle-private/issues/2273

Previously we only read the test class name from JUnit xml result. When the worker build fails prematurely, the JUnit xml result is not available. This PR fixes this issue by adding test class name to scenario list.

    • -2
    • +2
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 8 more files in changeset.
Fix class name

    • -1
    • +2
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 4 more files in changeset.
Fix 404 of worker build

    • -2
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 6 more files in changeset.
Fix 404 of worker build

    • -2
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 6 more files in changeset.
Fix 404 of worker build

    • -2
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 6 more files in changeset.
Fix 404 of worker build

    • -2
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 5 more files in changeset.
Rename performance test infrastructure legacy classes

To make clear that they are using the Gradle build internal

infrastructure.

    • -2
    • +2
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 44 more files in changeset.
fix issue

    • -1
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 1 more file in changeset.
Use client

    • -0
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 2 more files in changeset.
Revert "Revert "Explicit GC""

This reverts commit e69e8eda70286ff32c9120bec91fee3248e9d7ae.

    • -0
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 4 more files in changeset.
Revert "Explicit GC"

This reverts commit 2c1118cf3a627348244f162065ed34dd8ed61904.

    • -1
    • +0
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 4 more files in changeset.
Explicit GC

    • -0
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 4 more files in changeset.
Revert "Use G1"

This reverts commit 3a2ada0da24f3c8df3c22c58c7e739b9f233ec52.

    • -1
    • +0
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 1 more file in changeset.
Use G1

    • -0
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 1 more file in changeset.
Remove IO operation from performance tests

    • -2
    • +2
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 1 more file in changeset.
Disable daemon in performance tests

    • -1
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 2 more files in changeset.
Fail performance test iteration fast (#7777)

This fixes https://github.com/gradle/gradle-private/issues/1393

Previously, we collect all exceptions in the performance test execution then `assertEveryBuildSucceeds()`. This doesn't make any sense - we don't need to run the test any more if there's a failure. This PR fixes this issue by failing fast in performance iterations.

Also, we have 4 kinds of checks, which makes things complicated. This PR removes them and use `true/false` instead.

    • -15
    • +2
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 16 more files in changeset.
Add teamcity build id to performance tests (#7524)

This fixes https://github.com/gradle/gradle-private/issues/1535

Previously, we only don't have buildId recorded in performance database, which might cause incorrect result if running multiple performance builds against same commit. This PR adds `teamCityBuildId` column to performance test database.

A bonus is that we now have build url link in performance graph page.

    • -1
    • +3
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 17 more files in changeset.
Use Spock's Retry extension instead of RetryRule

    • -5
    • +5
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 27 more files in changeset.
Put back LeaksFileHandles for older Groovy versions

Groovy <2.0 has another file leak that we haven't worked

around yet. Given that these versions are rather old, it's

probably also not very important.

    • -0
    • +5
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 4 more files in changeset.
Fix generating flamegraphs for JavaIDEModelPerformanceTest

We need to return the proxy for nested calls.

    • -1
    • +2
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
Redirect TAPI output to a file in perf tests

    • -1
    • +12
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
Skip flamegraph generation when scenario was ignored

    • -6
    • +9
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
Make TAPI performance tests profilable

    • -84
    • +82
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 4 more files in changeset.
Use repository mirrors in performance tests

    • -9
    • +43
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 10 more files in changeset.
Simplify Profiler interface

    • -1
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 11 more files in changeset.
Replace honest profiler with JFR

JFR is available on all systems that have an Oracle JDK, Honest profiler only works on Linux.

JFR profiles CPU, memory, IO, locking and more, Honest profiler only profiles CPU.

Both of them use the same low-overhead async profiling API.

This PR also inlines the code necessary for flamegraph generation.

Users will no longer need any additional setup on their machine.

    • -2
    • +7
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 12 more files in changeset.
Increase iteration counts for performance tests

    • -1
    • +1
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 4 more files in changeset.
Strive to keep Gradle's monotonic clock in sync with the system clock

    • -4
    • +4
    ./AbstractToolingApiCrossVersionPerformanceTest.groovy
  1. … 71 more files in changeset.