Clone the repo:
$> git clone https://github.com/gradle/perf-enterprise-large.git
$> cd perf-enterprise-large
From here you need to run the generation script. It takes about 30 seconds to do it's work.
$> ./setup.sh
Copy gradle.properties.sample
as gradle.properties
$> cp gradle.properties.sample gradle.properties
At this point, you should be able to run the build.
$> gradle -g gradle-user-home resolveDependencies
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-home
Make sure to pass -g gradle-user-home
to the gradle command.
$> gradle -g gradle-user-home resolveDependencies
Enabling access logging for maven-server
$> export MAVEN_SERVER_ACCESS_LOG=$PWD/maven-server.log
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