Large Enterprise Performance Reproduction Project
Getting Started
Clone the repo:
$> git clone https://github.com/gradle/perf-enterprise-large.git
$> cd perf-enterprise-largeFrom here you need to run the generation script. It takes about 30 seconds to do it's work.
$> ./setup.shCopy gradle.properties.sample as gradle.properties
$> cp gradle.properties.sample gradle.propertiesAt this point, you should be able to run the build.
$> gradle -g gradle-user-home resolveDependenciesTesting downloading
Remove the gradle-user-home directory and create a new one to test downloading from a clean state.
$> rm -rf gradle-user-home
$> mkdir gradle-user-homeMake sure to pass -g gradle-user-home to the gradle command.
$> gradle -g gradle-user-home resolveDependenciesEnabling access logging for maven-server
$> export MAVEN_SERVER_ACCESS_LOG=$PWD/maven-server.logBenchmarking and profiling
Use the Gradle profiler to --benchmark or --profile scenarios. The available scenarios are defined in performance.scenarios
Example usage: ./gradle-profiler --profile chrome-trace buildUpToDate