profile

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extract :buildProfile subproject from :core

    • -64
    • +0
    ./ReportGeneratingProfileListener.java
  1. … 32 more files in changeset.
Revert "Merge pull request #7696 from gradle/marc/insights/extract-buildProfile-subproject"

This reverts commit ed2e38e2e4d6ffb1d15d5e0ffa74275622b063fe, reversing

changes made to 8a73c262ef5feca10ab1050302293b9c1ff14042.

    • -0
    • +64
    ./ReportGeneratingProfileListener.java
  1. … 32 more files in changeset.
Extract :buildProfile subproject from :core

    • -64
    • +0
    ./ReportGeneratingProfileListener.java
  1. … 32 more files in changeset.
Inform transformation listener in executer

  1. … 9 more files in changeset.
Fix execution of artifact transforms from script dependencies

We now have two WorkExecuters: One in Gradle user home scope and one in

Gradle scope.

  1. … 6 more files in changeset.
Some more renames

  1. … 14 more files in changeset.
Simplify transformation subject creation

  1. … 18 more files in changeset.
Polish naming

  1. … 25 more files in changeset.
Rename TransformerRegistration -> Transformer

  1. … 15 more files in changeset.
Simplify TransformOperation

so it only runs a step without including any further logic.

I.e. it is only used for generating build operations nothing else.

  1. … 36 more files in changeset.
Rename ArtifactTransformer -> ArtifactTransformation

  1. … 24 more files in changeset.
Decrease memory pressure

Use a StringBuilder to concatenate the Strings required to build the transform description in pProfileEventAdapter

No need to use a concurrent data structure

Events are guaranteed to be processed single-threaded

Report artifact transforms in profile report

    • -0
    • +51
    ./FragmentedOperation.java
  1. … 15 more files in changeset.
Fix tests, mark more internal listeners

    • -2
    • +2
    ./ReportGeneratingProfileListener.java
  1. … 22 more files in changeset.
Code cleanup

Use a constant for displaying '--scan' option

    • -1
    • +4
    ./ReportGeneratingProfileListener.java
  1. … 1 more file in changeset.
Recommend folks use build scans for profiling.

Build scans are better than --profile in every way, so recommend

use of --scan after profile report URL

    • -0
    • +4
    ./ReportGeneratingProfileListener.java
  1. … 1 more file in changeset.
Strive to keep Gradle's monotonic clock in sync with the system clock

  1. … 71 more files in changeset.
Simplify time handling internally and for build scans (#2857)

* Don't make TimeProvider Serializable.

This isn't safe and generally doesn't make sense.

* Extract and promote the concept of a build timer.

This was previously not well defined and being overlaid with the concept of when a user/tool requested something, which is not always the same thing.

* Pare down the deprecated org.gradle.util.Clock down to the minimum required.

Internal usage is replaced by a `getStartTime()` directly on BuildRequestContext.

What is left is only kept for backwards compatibility with scans.

* Rename TimeProvider to Clock.

* Move BuildExecutionTimer out of baseServices into core, and into a better package.

* Remove unused.

* Simplify the time package by merging types.

* Prevent the client's build started timestamp from being later than when the provider received the build request.

* Provide a dedicated mechanism for conveying the build start time to build scans.

* Consolidate the ways of formatting durations.

  1. … 178 more files in changeset.
Set default log level back to LIFECYCLE (#2015)

    • -1
    • +1
    ./ReportGeneratingProfileListener.java
  1. … 41 more files in changeset.
Change default log level to WARN (#1952)

    • -1
    • +1
    ./ReportGeneratingProfileListener.java
  1. … 44 more files in changeset.
Render link to profiling report in console

    • -0
    • +17
    ./ReportGeneratingProfileListener.java
  1. … 2 more files in changeset.
Moved `Clock` and `TimeProvider` into a separate package

This commit reverts recent changes to the API of

`org.gradle.util.Clock`, and instead deprecates the existing type

replacing with a new internal type. This was done because the

`ExtractDslMetaDataTask` uses this type for timing, and external plugins may have copied this pattern.

`org.gradle.util.Clock` is now deprecated.

  1. … 103 more files in changeset.
Renamed src/main/groovy to src/main/java in core

    • -0
    • +254
    ./BuildProfile.java
    • -0
    • +54
    ./CompositeOperation.java
    • -0
    • +56
    ./ContinuousOperation.java
    • -0
    • +124
    ./ProfileEventAdapter.java
    • -0
    • +20
    ./ProfileListener.java
    • -0
    • +185
    ./ProfileReportRenderer.java
    • -0
    • +78
    ./ProjectProfile.java
    • -0
    • +40
    ./ReportGeneratingProfileListener.java
    • -0
    • +55
    ./TaskExecution.java
  1. … 2536 more files in changeset.